Loading initial value from localstorage