storing hanziOptions in localstorage