yep, I typed too quickly 
I’m learning the javascript blynk myself at the moment.
If you need a sample using lots of virtual pins and timers, you can check my sourcecode.
EDIT: I have not tried buttons attached to the GPIOs on the Pi yet, sorry. Can’t help there