Adding a progress bar to save