Please help I’m Stuck It’s been 5 months

Either way and for the sake of the OP, need to sort out this wiring issue if he wants the key to work as designed.