     func refreshNearbyItems() {
         let currentLocation = getCurrentLocation()
         let region = MKCoordinateRegionMakeWithDistance(currentLocation.coordinate, searchDistance, searchDistance)
+        emptyListText = EmptyListLabelText.Loading
         BRCDatabaseManager.sharedInstance().queryObjectsInRegion(region, completionQueue: dispatch_get_main_queue(), resultsBlock: { (results: [AnyObject]!) -> Void in
             let nearbyObjects = results as! [BRCDataObject]
             let options = BRCDataSorterOptions()

    override func viewDidLoad() {
        super.viewDidLoad()
        setupTableView()
        NSNotificationCenter.defaultCenter().addObserver(self, selector: NSSelectorFromString("databaseExtensionRegistered:"), name: BRCDatabaseExtensionRegisteredNotification, object: BRCDatabaseManager.sharedInstance());
    }
    
    func databaseExtensionRegistered(notification: NSNotification) {
        if let extensionName = notification.userInfo?["extensionName"] as? String {
            if extensionName == BRCDatabaseManager.sharedInstance().rTreeIndex {
                emptyListText = EmptyListLabelText.Nothing
                refreshNearbyItems()
            }
        }

class BRCNearbyViewController: UITableViewController {

    private var sections: [TableViewSection] = []
    private var extensionRegistered: Bool = false
    
    private var emptyListText = EmptyListLabelText.Loading
    private var searchDistance: CLLocationDistance = 500
