Right now, I'm saving the button state in a helper table. For example, sheet x has 7 custom buttons, and the state of these buttons is found in the said table as binary (e.g. 0101010)

What I'd like to achieve on custom Button press is:

- get the state from said table and modify the bit related to the pressed button
- change the pressed state of each custon menu button in the active sheet according to the modified button state from said helper table