 		progressIndicator.doubleValue = 1
 		progressIndicator.startAnimation(self)
 		//
-		self.progressIndicator.startAnimation(self)
 		let contents : [NSURL] = fm.contentsOfDirectoryAtURL(imageFolder!,
 			includingPropertiesForKeys: [NSURLCreationDateKey],
 			options: .SkipsHiddenFiles,

			println("renamed to: \(newFileName)")
		}
		clearTable()
	}
	
	

	}
	
	@IBAction func rename(sender: NSButton) {
		//
		progressIndicator.doubleValue = 1
		progressIndicator.startAnimation(self)
		//
		println("dateFromSelector: \(dateFromSelector.selectedRow)")
		println("useNewStartDate: \(useNewStartDate.state)")
		println("newStartDate: \(newStartDate.dateValue)")
