Boolean state change in conditional


I’m trying to do something really simple but it doesn’t work :
I have one button with two states (false = unclicked) (true = clicked), in the prototype I put this :

Then I link this property with my variable, but when i click on the button in the prototype it doesn’t change state.

Does anyone have an idea to make this work using boolean ?