1 level undo / redo fully works now

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>