Setting UITableView selected row
NSIndexPath *indexSelected = [NSIndexPath indexPathForRow:index inSection:0];
[self tableView: self.taskTable willSelectRowAtIndexPath:indexSelected];
[self.taskTable selectRowAtIndexPath:indexSelected
animated:YES
scrollPosition:UITableViewScrollPositionMiddle];
[self tableView: self.taskTable didSelectRowAtIndexPath:indexSelected];