Added a downloadCanceled block