             }else{
                 NSLog("saving new face...")
                 mainAlbum.save(image: newFace)
+                pluginResult = CDVPluginResult(
+                    status: CDVCommandStatus_OK
+                )
             }
         }
         //Send pluginResult

        let oldAlbum = CustomPhotoAlbum()
        oldAlbum.albumName = "oneWatch Archive"
        oldAlbum.load()
        
        let pluginResult = CDVPluginResult(
            status: CDVCommandStatus_ERROR
        )
        var dataURL: String
        dataURL = command.arguments[0] as! String
        //Create image with DataURL

                mainAlbum.createAlbum()
                oldAlbum.createAlbum()
                mainAlbum.save(image: newFace)
                pluginResult = CDVPluginResult(
                    status: CDVCommandStatus_OK
                )
            }else{
                NSLog("removing images...")
                mainAlbum.reMoveImages(oldAlbum: oldAlbum.assetCollection)
