Execute new action after clearing undone actions