             return
         }
 
+        searchController?.active = false
+
         switch section {
 
         case .Local:

            self.searchController = searchController

            // ref http://stackoverflow.com/questions/30937275/uisearchcontroller-doesnt-hide-view-when-pushed
            self.definesPresentationContext = true
        }

        contactsTableView.separatorColor = UIColor.yepCellSeparatorColor()

    #endif

    private var searchController: UISearchController?
    private var searchControllerIsActive: Bool {
        return searchController?.active ?? false
    }

