Fixed re-normalizing of data when is categorical and .setData is called

Fixed #174