updated handling values of checkboxes for displaying list and charts