Table column toogle popup UI not refreshing

Table column toogle popup UI not refreshing

See this Fiddle , first click the column button enable the fouth and fifth columns, now click the Add row button the fourth and fifth rows are hidden from UI but again click the colum popup the fourth and fifth columns are checked.

(Fourth and fifth column are hidden because of table refresh,but if remove the refresh then the toogle is not working for dynamic rows,how to remove the check or how too manage the items should be visible)