I'd guess that there's a reed switch in the frame that detects the magnet in the cover. Can those type of switches become permanently magnetized? You'd think that the people who designed the system would have thought of such a possibility, but ya never know.