Problem with millis() timing

yes, but even the button is kept pressed longer than 1000 it still stops after the first condition