+Ruchi | reverts back a8a629819
+Ruchi| Adding back the undo and redo functionality