Chosen Solution

I have a head lamp The problem is once I put the battery in the headlamp ,the lamp stil working Automatically ! the 3 Mode -switch does not work, i Press the key and nothing changes! What ingredients do you have to check for safety? These are pictures of the device I need your help

Mise à jour (19/05/2019) I recently discovered that this piece is malfunctioning. Please know its name or a solution to compensate These are her pictures

@simowassim looks like a switch issue. Check the wiring to the switch and see if the switch is actually still working. Also, looks like some previous repair. Any history on this

and let us see the underside of the board. Just in case…