Restore code style in AppDelegate