Added Pause. To fix saving state