 		
 		var url = self.unanswerURLForTag(tag, from: date)
 		var task = self.generateSession().dataTaskWithURL(url, completionHandler: {(data: NSData!, response: NSURLResponse!, error: NSError!) -> Void in
+			self.lastCheckDate = NSDate()
+			NSUserDefaults.standardUserDefaults().setObject(self.lastCheckDate, forKey: self.lastCheckedDateKey)
+			NSUserDefaults.standardUserDefaults().synchronize()
+			
 			Store.DefaultStore.runClosureInContextQueue({ (moc: NSManagedObjectContext) -> () in
 				var dict: NSDictionary = NSJSONSerialization.JSONObjectWithData(data, options: NSJSONReadingOptions.MutableContainers, error: nil) as NSDictionary
 				

	
	var authorizationURL : NSURL { return NSURL.URLWithString("https://stackexchange.com/oauth/dialog?client_id=\(self.clientId)&scope=no_expiry&redirect_uri=\(validationURI)") }
	
	var lastCheckDate = NSDate()
	var session : NSURLSession?
	
	func generateSession() -> NSURLSession {

//

import Foundation
import CoreData

class StackInterface {
	class var DefaultInterface: StackInterface {
