Run Button Bug Fix

The code does not crash if the run button is pressed again while an
image/video is being processed