add the selected alls function of checkbox