fixed progress bar notification from blocking the UI thread