Better way of updating progress bar
Change visibility hidden to none on progressbar