Add state change event