My on Off switch wires came loose. Not Soldered well. So I used a button connector to dupont. works fine for safe shutdown mod.
Links
https://forums.raspberrypi.com/viewtopic.php?f=29&t=206921#p1280779
https://www.stderr.nl/Blog/Hardware/RaspberryPi/PowerButton.html
https://www.youtube.com/watch?v=EZM-4rrYpQQ