def METHOD_NAME(self) -> None:
    session = self.app.core.session
    del session.hooks[self.selected]
    self.listbox.delete(self.selected_index)
    self.edit_button.config(state=tk.DISABLED)
    self.delete_button.config(state=tk.DISABLED)