- if( newValue instanceof Boolean)
- {
- if(!(Boolean) newValue)
- {
- SharedPreferences.Editor appPrefs = PreferenceManager
+ //The saved path is removed when the preference is turned off
+ if( newValue instanceof Boolean && !(Boolean) newValue) {
+ SharedPreferences.Editor appPrefs = PreferenceManager