Changed Appdelegate