Conditionals with variables Not working as expected

Hi all. Im currently working with conditionals and variables. Im trying to set an interaction where if i click a popover option, the state of a button (which is tied to the variable state) will change. I can get this initial change to occur, but if i add a conditional after the expression that would further change the state, the expression breaks and i cannot get the conditional to run. Anyone know why this is occuring?

Hi there,

Thank you for contacting us. Could you please share the link to your file link and invite to look into it?

If you could provide additional details, such as your object/status names, it would greatly assist us in comprehending your desired outcome. Alternatively, screen recordings highlighting areas where you encountered difficulties would also be beneficial.