added function to select checkboxes after form submit