This exact example is in "A Book About Hype" except that the user clicks a button with their favorite color. Then, the scene is loaded.
There's one for switching scenes. So, if a "red" element was pressed, the "red" scene can be loaded. The trick is to match your element names with the scene names.