Implemented the replacement of the action bar items based on the current fragment.
Fixed bug involving the loss of the arrow by the app icon in the action bar