call didActivateApplication at applicationDidFinishLaunching