Inflated the menu and added internet permission