Adding improvements to the SharedPreferences Activity