Finishing fragment transaction in onClick method of MainMenuFragment, and adding onCreate and onCreateView to AddFoodFragment