I have three buttons that OnSelect
Set(varShowFormC1,!varShowFormC1);
UpdateContext({OneClick:true})
I then have the fill set to
If(OneClickLable.Text = "true", LightBlue, RGBA(0, 55, 104, 1) )
I have a label called OneClickLable with the text
OneClick
When the button is selected it changes colour to light blue, bases on this OneClick context being true

If it is false it goes back to the dark blue colour like the other two buttons, This is the same for those.
I have added a X to clear the selections by setting the context back to false on select
UpdateContext({OneClick:false, TwoClick:false, ThreeClick:false})
What i would prefer is that this context is updated to false on a second click of the button instead of the X
I have tried a couple things on the button but none of them are correct
UpdateContext({OneClick:true}); If(OneClickLable.Text = "true", UpdateContext({OneClick:false}))