Can't save hot key binds for Core

I’m trying to have the PS button on my DualShock 4 controller that I use with Beetle PSX toggle the RetroArch menu. I can set the hotkey (button 12) and it works, but when I save Core Overrides or the input Autoconfig it gets cleared the next time I use the core.