-Undo method bug fix
-Added Undo button to sample