save list when exiting or when loading other list