         // Find the first task in the list
         if let task = queue!.operations.first as? SYNQueueTask {
             println("Removing task \(task.taskID)")
-            
             task.cancel()
             collectionView.reloadData()
         }

        if let task = queue!.operations[indexPath.item] as? SYNQueueTask {
            cell.task = task
            cell.nameLabel.text = "task \(task.taskID)"
            if task.executing {
                cell.backgroundColor = UIColor.blueColor()
                cell.failButton.enabled = true
                cell.succeedButton.enabled = true
            } else {
                cell.backgroundColor = UIColor.grayColor()
                cell.succeedButton.enabled = false
                cell.failButton.enabled = false
            }
        }

        // completion in this example is based on user interaction
        println("Running task \(task.taskID)")
        
        // Set task completion after 5 seconds
        Utils.runOnMainThreadAfterDelay(5, callback: { () -> () in
            task.completed(nil)
        })
        
        // Redraw this task to show it as active
        if  let queue = queue,
            let index = Utils.findIndex(queue.operations as! [NSOperation], valueToFind: task)
        {
            Utils.runOnMainThread {
                let path = NSIndexPath(forItem: index, inSection: 0)
                self.collectionView.reloadData()
