Removed unusued parameters in method cancel download and use constans insted hardcode
Added check to control if the error messages are empty
Added support for new-version-available files