change Undo to Back and implement BackTo