local storage now saves theme index