added localStorageHelper for setting values for the localStorage