finishOk

fun finishOk(activity: Activity)

Sets RESULT_OK and finishes activity.