Added support for a custom local storage key

Added support to explicitly set the localStoreKey (useful if you want to save state across URLs)