Settign porper result code upon cancel
Explaining the cancel button resource id