fix not submitting images on iOS and auto submit to test when in simulator