Send mode when switch state changes