To check or uncheck all the related checkbox with a checkbox or button