Looking at your code, it seems it already creates the views checkboxes in the checkbox checked event, which seems incorrect (should only happen when you click the OK button I guess?)
in your case, simplest would be to first remove everything in the cell, and then re-build the cell with the selected checkboxes