Fixed add page checkboxes

because apparently you cant use the same JS function in two places.
Also tried to fix the time lists that keep getting overwritten.