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

BTW

digitalWrite(green, 255);
is this the proper syntax ?