Setup app ID after UIAlertView is presented