Sorry if I wasn’t clear. Post a screenshot without the top cut off, showing the any button click part.
If there is ONLY an any button click block missing from the screenshot then I would expect it to NOT work, just as you described in the first post.
Because your logic is basically this:
Set variable to false
If button is clicked AND variable is false
…
Set variable to true
If button is clicked AND variable is false [this will never trigger]
…