added message in case no record available to upload
correct check of selected avoiding repeating the same row