Millis() / Unsigned long subtraction not working

ok, so Ill stay with the 2 IFs and if theyre gonna be entangled in some functions that hinders the readability Ill use a state machine instead
Ty very much