Little soldering helper, just pull out the solder by pulling and twist the gear for retracting.
You will need some 6x3mm magnets (affiliate link).
There is also a low-tolerance-lid, which should fraction fit.