updated confirm method to recognize when a user has uninstalled the glass application