LocalStorage sort of working, not really though