reduced code size of onactivityresult for edit and annotation activity
merging from previous sotry fragment edit commit