clear redo stack after each click