add localstorage support
update some style