Actually that what why I thought a new setting was needed
Here is the code that functions for me. As I am not a Python programmer it might be a litte bit circuitous.
def zapClose(self): self.showhideWindow(True) if self.zapFunc and self.key_red_choice == self.ZAP: ref = self["list"].getCurrent()[1] if ref: from Components.ServiceEventTracker import InfoBarCount preview = InfoBarCount > 1 self.zapFunc(ref.ref, preview) if not preview: config.misc.graph_mepg.save() self.close(True) def eventSelected(self): if config.misc.graph_mepg.OKButton.value == "info": self.infoKeyPressed() elif config.misc.graph_mepg.OKButton.value == "zap+exit": self.zapClose() else: self.zapTo()