Making iOS 7 Compatible

Fixing the resignFirstResponder method to work with the new hierarchy
of UITableView.