Update DownloadUtils.java

 * Conditional not working correctly