Fix the bug that 100% volume cannot be used

I tried to fix this known bug by correctly set the range of the volume slider to (0, 100) and convert the volume value to perent before set to the slider. Vice versa, new value set by the slider is converted back from percent to real volume value before set to the audio device.