Fix crash bugs
Fix download'a state not change's bug