Changed the way the ActionBar is handled.