Progress Bar is showing even after its been turned off