 
     func addFolder(alert: UIAlertAction!, alertController: UIAlertController) {
         postAsyncToBackground {
-            if let folderName = alertController.textFields![0].text  {
+            if let folderName = alertController.textFields?[0].text  {
                 if let sqllitbk = self.profile.bookmarks as? MergedSQLiteBookmarks {
                     sqllitbk.createFolder(folderName) {
                         postAsyncToMain {

    }

    override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
        guard let source = source, bookmark = source.current[indexPath.row] else { return super.tableView(tableView, cellForRowAtIndexPath: indexPath) }
        switch (bookmark) {
        case let item as BookmarkItem:
            let cell = super.tableView(tableView, cellForRowAtIndexPath: indexPath)

                cell.imageView?.setIcon(bookmark.favicon, withPlaceholder: FaviconFetcher.defaultFavicon)
            }
            cell.accessoryType = .None
            return cell
        case is BookmarkSeparator:
            return tableView.dequeueReusableCellWithIdentifier(BookmarkSeparatorCellIdentifier, forIndexPath: indexPath)
        case let bookmark as BookmarkFolder:
            let cell = UITableViewCell(style: .Default, reuseIdentifier: nil)
            cell.textLabel?.font = UIFont.boldSystemFontOfSize(14)
            cell.textLabel?.text = bookmark.title
            cell.imageView?.image = UIImage(named: "bookmarks_folder_hollow")
            cell.accessoryType = .DisclosureIndicator
            return cell
        default:
            // This should never happen.
