Framework for action bar buttons