Add event handler to checkboxes; update array; change to complete on webpage.