fireOnStateChanged