Shortcut on a subsequent screen

Hello. I have a problem related to shortcuts. I have an application with several buttons to which I have assigned key combinations to create shortcuts, e.g., “AltG”. The shortcuts work, and I have used the Component Inspector. When I press the keys, the event associated with the button click is triggered, and it opens the corresponding screen. The problem arises when I have two screens with the same shortcut combination; the shortcut only works on the first screen and not on a subsequent one. How can I solve this problem without having to close the previous screen? Thanks in advance.