Add Undo Functionality through Control Z

Add Undo Functionality through Control Z

Thank you Tyson for the request. This is a very interesting request, though at the same time its complex to implement.

Will share it with the team and keep you updated.