I have owned 3 of these v.1 AF-540FGZ flashes and figured eventually the flimsy battery door was bound to break. The design includes three tiny plastic nubs molded onto the flash housing side, that eventually wear down or snap off. One of my nubs has worn off, causing the door not to stay closed and i have been using rubber wirst bands, tape, even a bulky C-clamp to keep the door closed, but finally found a working solution that does not block the viewing screen nor any of the buttons.
I used 2-part epoxy to affix three lego pieces strategically on the door and surrounding the door. then simply close the door and lock a single large lego piece or individual crossbar pieces to lock it shut. It is working just fine now and i can even attach little Lego men if i want for some whimsy.
Check it out and good luck if you are having trouble getting replacement parts: