add saving word to localstorage