How can I make this button toggle the position of a servo?
Do something like this:

int angles[2] = {0,180}
bool state = 0;


then:

if(button == PRESSED)
  state = !state;


finnally, to control the servo:

Servo.write(angles[state]);