Find out why a wireless shortcut button goes offline
Compare battery problems with reception at the installed location.

Test beside the receiver
Record whether the hub sees each press. If the button misses events close to the hub, reseat or replace its supported battery according to the manual and test again before changing automation settings.
Move to the final location
Test the same button on the intended wall or table with the door closed. If the problem returns only there, check for intervening metal and try a clear position. Review whether missed presses appear in the app’s event log.
My choice
I would move the button or hub before buying another button when short-range tests pass. Keep an ordinary control available for anything people must operate when the hub is offline.