add localstorage to view page and add icon