Undo and Redo Changes and adding comments