Servo Open/Close

I bet that it IS considering it. Your button is not pushed so it executes the else portion.