SharedPreferences update: retrieving setting in the MainActivity