Added localstorage for peppe
Finally fixed localstorage. Many thanks @peppelorum