refactor action_bar