Additional Puzzle element

It does not work for some reason. I have created the same function for the button visibility, but it's not working...