AppDelegate reference removed