Adafruit Circuit Board Buttons Not Outputing Correctly in Console Log

Link to the project or level: [Code.org - App Lab]
What I expect to happen: [When the toggle switch is open and the left button is pressed, it only displays red in the console log. When the toggle switch is open and the right button is pressed, it only displays blue in the console log. When the toggle switch is closed and the left button is pressed, it only displays yellow in the console log. When the toggle switch is closed and the right button is pressed, it only displays green in the console log.]
What actually happens: [When the toggle switch is closed and the left button is pressed, it displays red and yellow in the console log. When the toggle switch is closed and the right button is pressed, it displays blue and green in the console log.]
What I’ve tried: [replace with a detailed description of what you’ve already tried to do to solve the problem]