have made changes for selecting and un-selecting in the repo