Fixed error caused by not properly building directory after choosing a download, by building directory even if no changes were made