check for duplicate scans added
twice scanning bug fixed with progressdialog