The misuse of equipment should not be without consequences.
No 'fix' is needed as its not broken. The fact that YOU pressed to wrong button is not FD's fault.
Regards
Rather than going down the punishment road, why not make things as user-friendly as possible? If it's easy to waste shield cells accidentally, let's fix it. It's to the benefit of the pilot.
There is still no 'fix' needed, as I said it is you who hit the wrong button. The 'fix' you are looking for is for YOU to reassign the button on your joystick, which you must of assigned in the first place, or use a keyboard key.
Regards