Using a method to update the series from the checkboxes.
Moving the list of checkbox to a new class, with the corresponding methods.