Unstable NPN switch circuitry

I assume the yellow wire is for grounding pin 2 to wake up, it needs to be pulled up to keep it from floating, but do internal pullups work when asleep? Maybe better to use external 27k or so pullup.