Add id and persistence to checkboxes