Added stateChangeComplete event

Called after both Seccuss and Error.