implemented shared preferences class that keeps the setings of the app
 changed shared pref class with non static methods, started controller activity and UI