adding menu and back button functionality and search button