Set prevValue after receiving sand