Finally fixed the paused values on restart bug