Revert "Fixed the progress bar bug. Improved indentation."

This reverts commit 91223db33890abce45ca1a037fb499bd9bb2bd0f.