commit code for Show the correct title in the menu.