Managed states better with the new "StateChangedEventHandler"