after row update sethoralign style disappeard

I have made a custom cell which uses the setHorAlign function.
After I update a row which contains this custom cell the horizontal align disappears on this cell.