what happens is if you reset your ecu it won't be ready to test for emissions for 2 weeks so it has a chance to cycle through to check to see if there are any errors. I think it is two weeks. So because you just had an alarm installed they unplugged the battery for a while and it then reset the ecu.