Reference progress bar working