Fixed TextDidChange delegate call bug