Updated code for show menu

Show menus were not producing so updated code
Merge pull request #2 from shopgirl284/lifetimefix

Updated code for show menu