Add "swipe" function and its corresponding action for the selected cell in TableView