added last location to localsgtorage