added localstorage to remember interface choice