Globals now uses sharedPreferences