     
     @IBAction func libraryButtonPressed(sender: UIButton) {
         
-        changeMode(Mode.Library)
+        changeMode(FusumaMode.Library)
     }
     
     @IBAction func photoButtonPressed(sender: UIButton) {
     
-        changeMode(Mode.Camera)
+        changeMode(FusumaMode.Camera)
     }
     
     @IBAction func doneButtonPressed(sender: UIButton) {

        cameraButton.clipsToBounds  = true
        libraryButton.clipsToBounds = true

        changeMode(Mode.Library)
        
        photoLibraryViewerContainer.addSubview(albumView)
        cameraShotContainer.addSubview(cameraView)


private extension FusumaViewController {
    
    func changeMode(mode: FusumaMode) {

        if self.mode == mode {
            
