Exception fixed within showDownloadStatus cancelDownloadButton

From the library template generated by Adobe's online Store Configurator, there's an exception thrown within the showDownloadStatus function.
 
When removing the download status, off is called after cancelDownloadButton has been set to null.

Disposal of cancelDownloadButton updated.