Servo move to a location, then stop

Thanks for the code!

No luck unfortunately. The servo resets to the centre position immediately. When the button is oressed the servo starts turning one way, reaches the limits, then immediately turns back the full arc, and start turning again. The servo doesn't stop after 1 arc. Pressing the button again doesn't yield anything, and the servo continues to turn