Sorry for trowing something in your coffee.
When pause = off ... A double tap will switch it on .. then off (after a short time).
Clearly showing that the 'on tap' runs its actions, even when double tapped.
The easy solution is in my example.
Yes, you can perform a check so the logic doesnt trigger... but the event still does. Thats all im saying and I think thats where the OP is going wrong