Added onDownloadFinished handler