Source:
<code>public void onStart() { super.onStart(); analytics.trackPageView(Analytics.EDIT_SETTINGS_ACTIVITY); final Preference locationPreference = preferenceFragment.findPreference(LOCATION); Preference latitudePreference = preferenceFragment.findPreference(LATITUDE); <START> final Preference longitudePreference = preferenceFragment.findPreference(LONGITUDE); <END> locationPreference.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() { public boolean onPreferenceChange(Preference preference, Object newValue) { Log.d(TAG, "Place to be updated to " + newValue); return setLatLongFromPlace(newValue.toString()); } }); latitudePreference.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() { public boolean onPreferenceChange(Preference preference, Object newValue) { ((EditTextPreference)locationPreference).setText(""); return true; } }); longitudePreference.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() { public boolean onPreferenceChange(Preference preference, Object newValue) { ((EditTextPreference)locationPreference).setText(""); return true; } }); Preference gyroPreference = preferenceFragment.findPreference( ApplicationConstants.SHARED_PREFERENCE_DISABLE_GYRO); gyroPreference.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() { public boolean onPreferenceChange(Preference preference, Object newValue) { Log.d(TAG, "Toggling gyro preference " + newValue); enableNonGyroSensorPrefs(((Boolean) newValue)); return true; } }); enableNonGyroSensorPrefs( sharedPreferences.getBoolean(ApplicationConstants.SHARED_PREFERENCE_DISABLE_GYRO, false)); }</code><technical_language>remove 'final' this line for consistency line 88? I need line 87</technical_language>

Target:
public void onStart() { super.onStart(); analytics.trackPageView(Analytics.EDIT_SETTINGS_ACTIVITY); final Preference locationPreference = preferenceFragment.findPreference(LOCATION); Preference latitudePreference = preferenceFragment.findPreference(LATITUDE); Preference longitudePreference = preferenceFragment.findPreference(LONGITUDE); locationPreference.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() { public boolean onPreferenceChange(Preference preference, Object newValue) { Log.d(TAG, "Place to be updated to " + newValue); return setLatLongFromPlace(newValue.toString()); } }); latitudePreference.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() { public boolean onPreferenceChange(Preference preference, Object newValue) { ((EditTextPreference) locationPreference).setText(""); return true; } }); longitudePreference.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() { public boolean onPreferenceChange(Preference preference, Object newValue) { ((EditTextPreference) locationPreference).setText(""); return true; } }); Preference gyroPreference = preferenceFragment.findPreference( ApplicationConstants.SHARED_PREFERENCE_DISABLE_GYRO); gyroPreference.setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() { public boolean onPreferenceChange(Preference preference, Object newValue) { Log.d(TAG, "Toggling gyro preference " + newValue); enableNonGyroSensorPrefs(((Boolean) newValue)); return true; } }); enableNonGyroSensorPrefs( sharedPreferences.getBoolean(ApplicationConstants.SHARED_PREFERENCE_DISABLE_GYRO, false)); }