Fixed auto refreshs when upload finishes