Adding EventHandler(Open/Close)

Adding an Event Handler to indicate that the state changed (Open/ Close)