progressbar: Corrections after review

why wouldn't move `this._val = value` to separate line?