Potentiometer fixed

Both time and dist on potentiometer works now