If target is 0 then set maxium and value to 1 to fill progress bar.