A handy tip
I have a remote controlled garage door.
When the batteries in the remote control fail the removal of the batteries means that the control needs to be reprogrammed.
The way to get over this is to simply push the watch-type exhausted battery out with the fresh battery.
This way, the electrical contact is maintained and the programme stays in place. Simples.