Why is there a difference between my progress bar and my application progress?