Removing @optional from didCancelCamera and updating the demo app to dismiss the camera when didCancelCamera is called.