             return
         }
         
+        
         // Create and apply filter
         // 1 - create source image
         let sourceImage = CIImage(image: self.selctedImage)

        
        // disable save button
        self.saveButton.enabled = false
    }

    override func didReceiveMemoryWarning() {

    @IBOutlet var saveButton: UIBarButtonItem!
    @IBAction func saveButtonAction(sender: UIBarButtonItem) {
        
        UIImageWriteToSavedPhotosAlbum(self.previewImageView.image!, nil, nil, nil)
        
        print("Image Saved")
    }
    
    
