     
     override func viewDidLoad() {
         super.viewDidLoad()
+        
         reload()
+    }
+    
+    deinit {
+        // Save the incompleted forum to NSUserDefaults.
+        if newForum.isModified() {
+            if newForum.parserType == nil {
+                newForum.parserType = newForum.parserTypes[parserPickerView.selectedRowInComponent(0)]
+            }
+            if let jsonString = newForum.jsonEncode() where !jsonString.isEmpty {
+                NSUserDefaults.standardUserDefaults().setObject(jsonString, forKey: pausedForumKey)
+                NSUserDefaults.standardUserDefaults().synchronize()
+            }
+        }
     }
 
     override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {

        }
        return isReady
    }
}
    
    // MARK: Private.
    private var newForum = KomicaForum()
    private let pausedForumKey = "pausedForumKey"
    private let parserTypes = ["Pixmicat", "My Komica", "Siokara"]
    private struct SegueIdentifier {
        static let name = "name"
