Finish Clear Function.
Finish undo  function.
Finish redo function.