fixed tableview cell selection/deselection bug