added button and randomization to progress bar