Now one can set the SharedPreferences to be used by the view to store the setting