creating a toggle button for dark and light mode (1)