Update PreferencesActivity.java