fixed null pointer in download activity