0👍
✅
Try setting var x = 1
to var x = 0
– that way it should have the functionality you get on the second click on initial.
Source:stackexchange.com