Saving and restoring selected variables with the saver class