changed personStateChangedHandler to personStateChangeHandler in demo