Added Checkbox function that accepts ArrayList<String>