                     
                     let label = self.permissionLabels[index]
                     label.center = self.contentView.center
-                    label.frame.offset(dx: -self.contentView.frame.origin.x, dy: -self.contentView.frame.origin.y)
-                    label.frame.offset(dx: 0, dy: -((dialogHeight/2)-205) + CGFloat(index * baseOffset))
+                    label.frame.offsetInPlace(dx: -self.contentView.frame.origin.x, dy: -self.contentView.frame.origin.y)
+                    label.frame.offsetInPlace(dx: 0, dy: -((dialogHeight/2)-205) + CGFloat(index * baseOffset))
                     
                     index++
             })

        var index = 0
        for button in permissionButtons {
            button.center = contentView.center
            button.frame.offset(dx: -contentView.frame.origin.x, dy: -contentView.frame.origin.y)
            button.frame.offset(dx: 0, dy: -((dialogHeight/2)-160) + CGFloat(index * baseOffset))
            
            let type = configuredPermissions[index].type
            

                    statusCallback(status: .Unauthorized)
                case .CouldNotComplete:
                    // Error ocurred.
                    print(error!.localizedDescription, terminator: "\n")
                    // TODO: What should we return ? Use throws ?
                    statusCallback(status: .Unknown)
                }
