Call stopCellEditing() when clicking on a table header to sort. This fixes #221 where an editble field (usch as a checkbox) is not refreshed when sorting