Move background downloads to AppDelegate