client: Don't send dataChanged() before actually changing the data