         
         view.addSubview(cameraButton)
         view.addSubview(libraryButton)
-        
+        view.addSubview(closeButton)
         view.addSubview(swapButton)
         
         cameraButton.enabled = true

    private func showNoPermissionsView() {
        let permissionsView = ALPermissionsView(frame: view.bounds)
        view.addSubview(permissionsView)
        
        view.bringSubviewToFront(closeButton)
        
        closeButton.addTarget(self, action: "close", forControlEvents: UIControlEvents.TouchUpInside)
        closeButton.setImage(UIImage(named: "closeButton"), forState: UIControlState.Normal)
        closeButton.sizeToFit()
        
        let size = view.frame.size

        view.backgroundColor = UIColor.blackColor()
        view.addSubview(imageView)
        view.addSubview(cameraView)
        
        
        if allowCropping {
            layoutCropView()
