allowing user to change doorswitch and openon checkbox