Added DownloadDialogFragment
Added methods to detect connection type to the DownloadManager