That said. Not everyone wants to spend $2.48 on spare parts for a $5 flashlight, so OP’s solution works…

You actually spent $5 on this light? Woof!!! I think i got 3 for $10

That being said, hey robin. Does the new switch prevent it from coming on in your pocket?