Code example for Preference

Methods: setOnPreferenceClickListener