Fix to show progress bar when syncing for first time