Implementing submenus

Wael asked to implement the submenus in the sample, so I did what I see.