Implement a local storage to keep the light-dark switch setting as user's preference even after user reloaded the page.