improved behavior so get data will first clear the old data list
initial work towards toggling checkboxes with classes