Servo Motor timed reaction

Take a look at digitalRead. Your original code doesn't ever read anything to tell you a button has been pressed.