It would work the same way as OnClicked, OnPressed etc. It’s up to you to update the “options” text whenever the button is clicked. But as I said you need to create your custom button widget. The call Right Click is and event dispatcher that you can bind and assign to.
More info is needed about your buttons. I assume they are dynamically created and added to your HUD, right?