I have a list of checkboxes, I want when I click on input 4th all previous boxes being checked and the rest unchecked. I almost did it, but there is an issue that when I bac