I just unscrewed a few metal faced light switches to paint some walls (after turning off the circuit) and it looks like some wires have come loose, even though I was pretty gentle. The first pic, there is a brown cable near the bottom of the switch, and the second pic there is a loose brown and the top brown cable isn’t properly secured either. Also, despite there being a screw to earth the face plate the earths are’t connected to it. I am not familiar with electrics and am not sure how to wire these up properly. What should I do?