         // Get the cell
         let selectedCell = tableView.cellForRowAtIndexPath(indexPath)
         // Set text to
-        textField.text = selectedCell?.textLabel.text
+        textField.text = selectedCell?.textLabel!.text
         // Call delegate method
         autocompleteDelegate?.autocompleteWasSelectedRow(indexPath.row)
     }


        dispatch_async(autocompleteSearchQueue) { ()
            // Save new suggestions
            if let dataArray = self.autocompleteDataSource?.getItemsArrayWithSubstring(substring) {
                self.autocompleteItemsArray = dataArray;
            }
            // Call show or hide autocomplete and reload data on main thread

        }
        
        let substringBefore = lastSubstring;
        lastSubstring = substring as String;
        // If substring is the same as before and before it has no suggestions then
        // do not search for suggestions
        if (substringBefore == substring.substringToIndex(substring.length - 1) &&
