Events are executed from top to bottom, so the first event requests fullscreen, and then the second event cancels it immediately.
Use sub-events with Else condition. And you don't need the variable, you can check if the game is in fullscreen using Browser condition.
On Tap
..Browser Is Fullscreen : Cancel fullscreen
..Else : Request fullscreen