What's wrong with my save function? Randomly crashes on devices - HELP!

Just out of curiosity, is there a coroutine or something I can write that will check if the SQL command has completed?  I guess when worried about long SQL updates, tracking the query update job would be handy.  How have you implemented large sql updates and letting the user know that that it’s updating and then letting them know when it’s done.  Often, these large updates seem to “lock up” the app until then are done…