docs: def add_callback_to_shortcut_manager(self, action, callback):
          """
          Helper function to add an callback for an action to the shortcut manager.
          :param action: the action to add a shortcut for
          :param callback: the callback if the action is executed
          :return:
          """
          if action not in self.registered_shortcut_callbacks:
              self.registered_shortcut_callbacks[action] = []
          self.registered_shortcut_callbacks[action].append(callback)
          self.shortcut_manager.add_callback_for_action(action, callback)