link for select and deselect merge to one