added shared prefs to other classes