Fix localStorage

Adding JSON.parse in retrieveLocal
Adding JSON.stringify in storeLocal