use localstorage to store options