Added action bar
few modifications in prefs