Checking for nullref in UI updates.