Syntax fixes & button calls method

fixed syntax errors and made toggledoor button toggle the door