removing unused code
preview unavailable image
download cancel handler