implemented user prefs in action bar