gui: Unselect data in data editor when the datasheet is replaced.