action bar refactor