Tree UI: Store settings in localStorage