Issues with millis timing with a button press as well as seven segment display

The SSD appears to show 0 while in State 4 but I think it may be going through the numbers extremely quickly but I'm not sure.