When Opening And Closing A Security Alarm