Passing first parameter of the array instead of the entire array
Send an error to the callback

When activity.close or object chooser call fails