registerOnSourceChangedCallback