Fixed issue with wrong method inside ApplicationDelegate