Added distinction for Activity.RESULT_OK and Activity.RESULT_CANCELED

Added distinction for Activity.RESULT_OK and Activity.RESULT_CANCELED