Add activity button function commands

I would like to have a button on my remotes that is a ‘Function’ button

If pushed, it sets, in roomie, a flag that the button is on or off.

This could be parsed at the same level as an activity

IE, put this ‘code’ in a button:

If Function (ON)
Do Play
else
Do show Guide

The reason this would be very cool is the buttons could take up alot less real estate if it was able to have multiple functions.

The display could be like this: Play(Guide) or:
Play

Guide

When function is pushed, it changes to Guide(Play) or:
Guide

Play

Whatever format you like.

??