Sync a physical button

Help me! I can not sync a physical button used as a switch with the blynk widget button.
The button turns on and off the led connected to D5, while the led widget does not work.
I do not know how to synchronize the related Blynk button.
thank you

#define BLYNK_PRINT Serial    // Comment this out to disable prints and save space
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

//--------------------- parametri connessione wi-fi + blynk ----------------------------
char auth[] = "xxxxxxxxxxxx"; // token  NOmeCudPulsanti
char ssid[] = "xxxxxxxxxxxx";
char pass[] = "xxxxxxxxxxxxxx";

int ledPin = D5;
int pulsantePin = D0;
int ledStato;
int pulsanteStato;


void setup()
{
  // Debug console
  Serial.begin(9600);
  Blynk.begin(auth, ssid, pass);
  pinMode(D0, INPUT_PULLUP);
  pinMode(ledPin, OUTPUT);
  pinMode(pulsantePin, INPUT);
  digitalWrite(ledPin, ledStato);
}

void loop()
{
  Blynk.run();
  int lettura = digitalRead(pulsantePin);
  if(lettura != pulsanteStato and lettura == HIGH){
    ledStato = !ledStato;
    digitalWrite(ledPin, ledStato);
    Serial.print ("stato pulsante ");
    Serial.println (ledStato);
    Blynk.virtualWrite (V0, ledStato);
  }
  pulsanteStato = lettura;
  delay(10);
}

https://examples.blynk.cc/?board=ESP8266&shield=ESP8266%20WiFi&example=More%2FSync%2FSyncPhysicalButton

thank you very much, solved!