Fixed the UI has a black view when failed to preview file. Add donwload action on preview view.