When inserting a battery, make sure you do the following:
insert it the correct way, with plus and minus poles touching the right terminals;
use the right coin battery size;
avoid dirt or any other substances obstructing proper contact;
carefully insert it, not putting stress on it as you’re closing up the holder. Makes sure it makes contact with the terminals.