working menudemo with dynamic submenu names (thanks to yipyip)