enabling progressbar