def METHOD_NAME(self, name: str, var: tk.IntVar) -> None:
    if var.get() and name not in self.current_services:
        self.current_services.add(name)
    elif not var.get() and name in self.current_services:
        self.current_services.remove(name)
        self.node.service_configs.pop(name, None)
        self.node.service_file_configs.pop(name, None)
    self.current.listbox.delete(0, tk.END)
    for name in sorted(self.current_services):
        self.current.listbox.insert(tk.END, name)
        if self.is_custom_service(name):
            self.current.listbox.itemconfig(tk.END, bg="green")
    self.node.services = self.current_services.copy()