When replacing the macro switch cover upon reassembly, assemble the Switch and spring and then sparingly apply superglue with a toothpick to the pegs ,broken or otherwise and press into position.
Check for operation so you can remove before the glue sets too hard if something is wrong.