save current state and add a new state

def _saveState(self, path):
        """save current state and add a new state"""
        self.addSession()  # next session
        self._save(str(self.n_sessions), path)