Too late now, but what I have is an older model of this:
https://www.amazon.com/Broadlink-RM4...38752366&psc=1
The Broadlink router listens to your remote on the airwaves, and can mimic it. Then a mobile app on your phone programs buttons that mimic the remote. That lets you always have a backup. There are lots of other useful things you can do with it, but one is that you never lose your last remote.
Bookmarks