Committing changes previously accidently undone