         title = searchText
         SVProgressHUD.show()
         
-        search(for: searchText, type: searchBar.selectedScopeButtonIndex)
-    }
-    
-    func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
-        // Resume selected button
-        searchBar.selectedScopeButtonIndex = searchScopeIndex
-    }
-
-}
-
-// MARK: - UISearchResultsUpdating
-extension SearchBoxTableViewController: UISearchResultsUpdating {
-    
-    
-    func updateSearchResults(for searchController: UISearchController) {
-        // TODO:
-    }
-    
+        searchScopeIndex = searchBar.selectedScopeButtonIndex
+        search(for: searchText, type: searchScopeIndex)
+    }
+
 }
 
 // MARK: - UISearchControllerDelegate


        return controller
    }()
    fileprivate var searchScopeIndex = 0
    fileprivate var statusBarStyle: UIStatusBarStyle = .default
    

        tableView.mj_footer = {
            //  Use unowned because the caller is self. No async
            let footer = MJRefreshAutoNormalFooter { [unowned self] in
                self.search(for: self.searchKeyword, type: self.searchScopeIndex)
            }
            footer?.isHidden = true // Appeare after search
            
