Corrected binary bitwise test to switch on for 1 and off for 0. Shift register works the opposite way where sending a 1 to the last 4 bits of the register will turn the led off. So we need to invert this.