Move action bar to a separate class