Notify the current state block when the current state changes.