Fix bug in new file transfer widget