Undo changes from code editor and other unnecessary changes