Added check duplicates, select,deselect all

started implementing deletion aswell.
duplicates not working right now due to issue in utility.