A menu with some buttons

LarryD:
As I suggested, if you use a variable menuItem, each time you push a switch the new value of the counter is used as a trigger to display a new screen message.

I get your idea on using the variable menuitem. But if the variable increasing by 1, how am I gonna to use it for another screen ?

I mean how will be the algorithm for the code ?

Thanks