app delegate small changes