Update AppDelegate.swift

add license