Got the checkmarks working and used switch cell in accessory view instead of a custom cell.