Fix app registration

Change-Id: Ide2dab8a47a3e8ae71b243969dd26980c07f50ef
diff --git a/local/bigswitch/src/main/java/org/opencord/ce/local/bigswitch/BigSwitchManager.java b/local/bigswitch/src/main/java/org/opencord/ce/local/bigswitch/BigSwitchManager.java
index 979cafb..6297ab7 100644
--- a/local/bigswitch/src/main/java/org/opencord/ce/local/bigswitch/BigSwitchManager.java
+++ b/local/bigswitch/src/main/java/org/opencord/ce/local/bigswitch/BigSwitchManager.java
@@ -164,7 +164,7 @@
 
     @Activate
     public void activate() {
-        appId = coreService.getAppId(APP_NAME);
+        appId = coreService.registerApplication(APP_NAME);
         configRegistry.registerConfigFactory(configFactory);
         networkConfigService.addListener(configListener);
         //deviceService = opticalView(deviceService);