State Changed missed.

.. unedited from previous commit