Created new class for checkboxes so settings can be detected using a for loop instead of having an if statment for each checkbox.