<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def unapply(self):
 """Reset the current configuration to the previous state."""

        for key, value in self._old_config.items():
            _config[key] = value