整合undo和swipelistview