### Description Switching between light and dark mode causes a full-page reload instead of applying the theme instantly. ### Expected Behavior The theme should switch seamlessly without requiring a full-page reload. ### Screenshots/Screen-recordings https://github.com/user-attachments/assets/a90faffa-ffc0-4d93-bda6-ff2462126dcb ### How to Reproduce 1. Open the application. 2. Navigate to the theme switcher. 3. Toggle between light and dark mode. 4. Observe that the entire application reloads instead of instantly applying the new theme. ### Console log Errors: N/A ### Environment: - Operating System: [e.g., Windows, macOS, Linux] - Browser (if applicable): [e.g., Chrome, Firefox, Safari] - Version of Software/Project: [e.g., v1.0.0] ### Checklist - [x] I have read and followed the project's code of conduct. - [x] I have searched for similar issues before creating this one. - [x] I have provided all the necessary information to understand and reproduce the issue. - [x] I am willing to contribute to the resolution of this issue. --- Thank you for contributing to our project! We appreciate your help in improving it. 📚 See [contributing instructions](https://github.com/sugarlabs/musicblocks/blob/master/README.md). 🙋🏾🙋🏼 Questions: [Community Matrix Server](https://matrix.to/#/#sugar:matrix.org).