uses notificationcenter to update app when the app loads