I use a big screw driver, and pop it right off. To put them back on, just use a clamp on the detent arm and back of hinge, compress spring with clamp and drop detent in place. Just hope you can find a decent detent, as all I have ever seen a cheap, metal to metal, that is why i make my own. Also beware of the bushings, sometimes the pins do not fit the bushings and you still have side to side play after you insert the new pins into the new bushings. Then you still have same old problem, even with new parts!
Willie