Enabling progress bar logic