fixes #4653 Clear Download link when you remove file asset

Fixed the issue and pushed the code for review, please check it..