Implemented Undo and Redo for KVLangArea