                 }
             )
         } else {
-            completion?(granted: (authorizationStatus == ABAuthorizationStatus.Authorized), userDialogResult: .NoAction, systemDialogResult: .NoAction)
+            completion?(granted: contactsAccessGranted, userDialogResult: .NoAction, systemDialogResult: .NoAction)
         }
     }
     

                    self.showCameraSystemAlert(completion)
                })
        } else {
            completion?(granted: (authorizationStatus == AVAuthorizationStatus.Authorized), userDialogResult: .NoAction, systemDialogResult: .NoAction)
        }
    }
    

                }
            )
        } else {
            completion?(granted: photoAccessGranted, userDialogResult: .NoAction, systemDialogResult: .NoAction)
        }
    }
    
