Changed the download listener interface.Download failed now gives more information on error code and errord message.