Added events to the progress bar for completed and progressChanged.