refactoring of action bars, step 1