[Android] Update the config file whenever a preference within SharedPreferences has been changed.