Event that is triggered when the state of a group changes.