Trying to make update dialog with spreadsheet But Failed

Secondly, try using a clock to dismiss progress dialog/ spinning dialog, refer to: