Finish localstorage and retrieve from localstorage when present