Stay selected

I want to make a power up feature in my app I’m making. I added it so when you click on a button too the side it gives you the power up but when I touch anywhere else it just unselects the power up. How can I make it stay selected no matter what?

Set a variable for power up to be true when you click a side button and only set it to false when you want the power up unselected.

Thank you