Added code so that when the user hits Cancel, the imagePickerDidCancel delegate method gets called.