One light only works if second light is off
I have a kitchen light and a living room light (ceiling lights) that have their switches side by side (two single pole switches). The kitchen light began not coming on sometimes when I flipped the switch (but would come on after several off/on tries). I replaced the switch with a new single pole switch, and I thought I wired it the same as before, two black wires on the top brass screw (ON), and a third black wire on the bottom brass screw (OFF). I did not touch any other wires, only the wires from the old switch. I tried the kitchen light (with the new switch) and it came on each time I flipped the switch to on. Next I tried the living room light (with its same old switch that I did not touch), and it came on every time I flipped its switch on. I thought everything was now fine, but then while I had the kitchen light on, I tried the living room light again and it did not light up. When I turned off the kitchen light, I could then turn on the living room light, but ONLY if the kitchen light is switched off. Somehow the Kitchen light being switched on, now blocks the living room light from getting power?