 		self.currentDevice = self.captureDeviceBack ?? self.captureDeviceFront
 	}
 	
-	private func setupUI() {
+    let bottomView = UIView()
+    
+	public func setupUI() {
 		self.view.backgroundColor = UIColor.blackColor()
 		let contentView = self.view
 		
-		let bottomView = UIView()
 		let bottomViewHeight: CGFloat = 70
 		bottomView.bounds.size = CGSize(width: contentView.bounds.width, height: bottomViewHeight)
 		bottomView.frame.origin = CGPoint(x: 0, y: contentView.bounds.height - bottomViewHeight)

		}
	}
	
	private func focusAtTouchPoint(touchPoint: CGPoint) {
		
		func showFocusViewAtPoint(touchPoint: CGPoint) {
			

		}
	}
	
	public func flashModeFromUserDefaults() -> AVCaptureFlashMode {
		let rawValue = NSUserDefaults.standardUserDefaults().integerForKey("DKCamera.flashMode")
		return AVCaptureFlashMode(rawValue: rawValue)!
	}
	
	public func updateFlashModeToUserDefautls(flashMode: AVCaptureFlashMode) {
		NSUserDefaults.standardUserDefaults().setInteger(flashMode.rawValue, forKey: "DKCamera.flashMode")
	}
	
	public func updateFlashButton() {
		struct FlashImage {
			
			static let images = [
