Added progress bar and functional for button "back"