fix issue when deleting all rows and then refresh, adding new rows now are editable