It depends on the action triggered by your button.

Above an example of how you could do it (with the button being the thing having the state on it). Always make sure that the check on the state is: “is no” so you will effectively create a toggle for the group based on someone clicking a button.