Adding localstorage sync