 
     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)

            
            if let sqllitbk = self.profile.bookmarks as? MergedSQLiteBookmarks {
                //we split up the update into class-specific functions so we get more compile time & runtime checks before writing into the DB
                if let bookmarkItem = bookmark as? BookmarkItem, guid = newFolderGUID {
                    //bookmark items ALWAYS pass along the folderGUID even if not changed hence we can force newFolderGUID!
                    sqllitbk.editBookmarkItem(bookmarkItem, title:newTitle, parentGUID: guid, completion: refreshBlock)
                    
                }
                else if let bookmarkFolder = bookmark as? BookmarkFolder {
