localstorage and minor ui