Change progressbar percentage to double