StateChanged event.

StateManager knows when state is changed now.