"How To Replace the SD Memory Card Door on D5000, D5100, D5200, D3000, D3100, D3200"
I just did this last night on a D5100, I ASSUME the procedure is the same for the D5000, D5200, and D3000-series, your results may vary. You need a tiny phillips screwdriver (like for repairing eyeglasses) and tweezers for handling all the tiny screws. A sharp pick tool is a help as well.
FIRST: open the memory card door and take a good long look at how the spring is installed. There are two "feet" coming off of the spring that need to be installed into two "insets" on the rear camera cover, this has to be done before you put the cover back on:
2. Peel the rubber thumb-grip back slightly, there's a short screw there closest to the left side of the thumb-grip. This one seems to be slightly thicker than the ones in the next step, keep it separate.
6. Once you remove those screws (12 altogether) you can pull the back cover off the camera, it is still attached to the camera body via two cables so be careful not to damage them. You will then see that the memory card door slides right out between the rear cover and the camera body. Install the new door making certain to put the spring back the way it was, with the two feet installed into the insets.
7. Put the rear cover back on and test the memory card door to make sure it's working, then install all of the screws back where they went. Reapply adhesive to the rubber grips and diopter cover if desired.