Make progressBarWith a function instead of a computed property

Reason: simpler and less expensive