fixed an error in AppDelegate.m with UniqueIDCounters