Fix observer for progress bar not working