 		readAccountsFromDisk()
 
 		NotificationCenter.default.addObserver(self, selector: #selector(unreadCountDidChange(_:)), name: .UnreadCountDidChange, object: nil)
-		
+		NotificationCenter.default.addObserver(self, selector: #selector(accountStateDidChange(_:)), name: .AccountStateDidChange, object: nil)
+
 		DispatchQueue.main.async {
 			self.updateUnreadCount()
 		}

		guard let _ = notification.object as? Account else {
			return
		}
		updateUnreadCount()
	}
	

			abort()
		}
		
		updateUnreadCount()
		NotificationCenter.default.post(name: .AccountsDidChangeNotification, object: self)
		
	}
