I'm with PeterH. You're using pin 1 for buttonDoor. You shouldn't be using that pin for anything but serial stuff, unless you have a board which doesn't have TX on pin 1 (eg Leonardo).
I'm with PeterH. You're using pin 1 for buttonDoor. You shouldn't be using that pin for anything but serial stuff, unless you have a board which doesn't have TX on pin 1 (eg Leonardo).