moving listener add to end of activate

Change-Id: Ia4ee4780f1c203f189e7a188778085246d1ae27e
diff --git a/src/main/java/org/opencord/aaa/AaaManager.java b/src/main/java/org/opencord/aaa/AaaManager.java
index b2a51fb..f158956 100755
--- a/src/main/java/org/opencord/aaa/AaaManager.java
+++ b/src/main/java/org/opencord/aaa/AaaManager.java
@@ -181,9 +181,7 @@
 
     @Activate
     public void activate() {
-        netCfgService.addListener(cfgListener);
         netCfgService.registerConfigFactory(factory);
-
         // "org.onosproject.aaa" is the FQDN of our app
         appId = coreService.registerApplication("org.onosproject.aaa");
 
@@ -196,6 +194,8 @@
         StateMachine.initializeMaps();
 
         initializeLocalState();
+        netCfgService.addListener(cfgListener);
+
         log.info("Started");
     }