modify checkbox checked when on click to hostgroup