add logic behin the unselect all link