Changes to MainActivity - logging shared prefs values