Fixed bug upload widget when uploading the same file without refresh

Fixed the bug by setting the upload-input value to null in the reset function, so the previous value will be deleted.