Apply refactoring to winRowCell function