Updated settings object use to SharedPreferences class