Adding ability to close the app and resume download upon reopen