When screwing that switch back on the wall take very great care not to trap one of the wires and/or nick the insulation with one of the screws.....
or you could end up with live screws,
Which may not trip anything as it looks like the back box is not earthed .
Guinness