Why we do not reinstate the previous one before leaving the refresh function?

If refresh is issued in its own child process, ok, but if not, it will change the environment for all the
other lvm invocations