Remembers last opened directory.