Centralize ActionBar and ContextBar handling