Well that's a lot simpler than my version.The 10 ohm resistor is the internal resistance of your battery. Closing the switch turns off the blue (white) LED with 3V forward voltage and turns on the red LED with 2V forward voltage.
View attachment 104689