Use localStorage directly instead of LocalStorage