Store last location to local storage and restore when reloading.