I have created a simple App. Extracts data from a Google Sheet and displays it in the listview (orange one). Then by clicking on each item in the orange list, that option is selected and added to the blue list below of that. Finally, after clicking the submit button, the blue list information will be saved in the second Google Sheet. But sometimes some data is not stored in the second Google sheet. Can you please guide me about this trouble? I have sent you the Algorithm image, program image, program source file, and Google Sheet addresses below. Thank you in advance.
Address of raw data :
Address for saving selected data: