 
 	init(folderPath: String) {
 		self.folderPath = folderPath
+		self.currentTheme = ArticleTheme.defaultTheme
 
+		super.init()
+		
 		do {
 			try FileManager.default.createDirectory(atPath: folderPath, withIntermediateDirectories: true, attributes: nil)
 		} catch {

		}
		
		try FileManager.default.copyItem(atPath: filename, toPath: toFilename)
		
		updateThemeNames()
	}
	
	// MARK: Notifications

	@objc dynamic func applicationDidBecomeActive(_ note: Notification) {
		updateThemeNames()
		updateCurrentTheme()
	}
	
}

//  Copyright © 2015 Ranchero Software, LLC. All rights reserved.
//

import Foundation
import RSCore

public extension Notification.Name {
