Fixed didChangeState delegate