@Override public boolean onPreferenceClick(Preference preference) { if (PreferenceKeys.PREF_RESET_PRELOGIN.equals(preference.getKey())) { BrowserSettings.getInstance() .getPreferences() .edit() .remove(GoogleAccountLogin.PREF_AUTOLOGIN_TIME) .apply(); return true; } return false; }