action bar class working