Disconnected after RTC sync? Why it doesn't reconnect?

I think I found the problem!!!

I changed from this

if (minute() != myNextion.getComponentValue("menuhome.minvar"))
    {
      myNextion.setComponentValue("menuhome.hrvar", hour()); // (RELÓGIO) Horas
      myNextion.setComponentValue("menuhome.minvar", minute()); // (RELÓGIO) Minutos
      myNextion.setComponentValue("menuhome.segvar", second()); // (RELÓGIO) Segundos
      //setSyncInterval(3600); // (RELÓGIO) Atualiza o relógio global de 1 em 1 hora
    }

to this:

byte Minvar = myNextion.getComponentValue("menuhome.minvar");
if (minute() != Minvar)
    {
      myNextion.setComponentValue("menuhome.hrvar", hour()); // (RELÓGIO) Horas
      myNextion.setComponentValue("menuhome.minvar", minute()); // (RELÓGIO) Minutos
      myNextion.setComponentValue("menuhome.segvar", second()); // (RELÓGIO) Segundos
      //setSyncInterval(3600); // (RELÓGIO) Atualiza o relógio global de 1 em 1 hora
    }

And It worked! Thanks for support and tips.