 {      @Override     public void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         addPreferencesFromResource(R.xml.settings);     }      @Override     public void onResume() {         super.onResume();         getPreferenceScreen().getSharedPreferences().registerOnSharedPreferenceChangeListener(this);     }      @Override     public void on