Implemented base behaviour for ActionBar