[ONOS-6270] linkWeightFunction was set as 'geoDistance', it is still using default linkWeightFunction 'hopCount' after restart

Change-Id: I925869e88251465a65a7cc592c094cdbe2a4f0a4
diff --git a/core/store/dist/src/main/java/org/onosproject/store/topology/impl/DistributedTopologyStore.java b/core/store/dist/src/main/java/org/onosproject/store/topology/impl/DistributedTopologyStore.java
index 7f39105..c59d30d 100644
--- a/core/store/dist/src/main/java/org/onosproject/store/topology/impl/DistributedTopologyStore.java
+++ b/core/store/dist/src/main/java/org/onosproject/store/topology/impl/DistributedTopologyStore.java
@@ -134,8 +134,9 @@
             new InternalBroadcastPointListener();
 
     @Activate
-    protected void activate() {
+    protected void activate(ComponentContext context) {
         configService.registerProperties(getClass());
+        modified(context);
         KryoNamespace.Builder hostSerializer = KryoNamespace.newBuilder()
                 .register(KryoNamespaces.API);