I was trying to create a checkbox that also reveals additional options such as rename and delete when selected. I used a boolean variable to control the visibility of these additional options. However, I can’t control the state of the checkbox within a condition. It doesn’t allow me to change settings for ‘if’ and ‘else’ independently. Therefore, the checkbox remains in the active state once clicked, instead of toggling.