AppDelegate fully functional