Set the dataset to nil on deactivate