refactored to use ActionBarCompat