Renew undo button and, add reset button

Add 2 functions. There are in FunctionPanel.