ESP 8266, Sync commands in while loops

take a look at my last post in this thread How to connect existing project with blynk app?