In the HMI side of it, you can select it either way. Use a maintained button, and look for the "State Settings" menu on the general tab of your properties. "Next state based on current state" will make it toggle the bit to whichever state it didn't toggle it to last time. This is obviously not what you want as if Wonderware has changed it in the meantime, it won't change it back. "Next state based on value control" will tell the HMI to check the current value of the tag, and then change it to whatever value it's not already. This is the one you want. You just have to make sure then that you set up a Value connection in the Connections tab.
Wonderware I haven't used a whole lot and can't help you with, but I'd imagine there should be a similar function if you poke around a bit.