registerOnTargetChangedCallback