Fixes a bug where the button wasn't actually sending the photo to the delegate.