Added action bar tabs logic