def METHOD_NAME(self):
    self.save()
    if self._model.current_id is None:
        self._model.contacts.append(self.data)
    else:
        self._model.contacts[self._model.current_id] = self.data
    raise NextScene("Main")