Fix a bug in localStorage loading, prefill editor options