added background fetch ability to the appdelegate