0.1.1 add callback function called when the progress bar completes