Added code to update advisory screen when app enters foreground.