Enable button to upload only after processing the thumbnails