Time isn't working

If i press the estadobotao for 3 seconds i enter in programa()