Add ContactManager
diff --git a/src/addcontactpanel.cpp b/src/addcontactpanel.cpp
index 8b9d66b..012ae4f 100644
--- a/src/addcontactpanel.cpp
+++ b/src/addcontactpanel.cpp
@@ -11,10 +11,11 @@
 #include "addcontactpanel.h"
 #include "ui_addcontactpanel.h"
 
-AddContactPanel::AddContactPanel(QWidget *parent) 
+AddContactPanel::AddContactPanel(ndn::Ptr<ContactManager> contactManager,
+                                 QWidget *parent) 
   : QDialog(parent)
   , ui(new Ui::AddContactPanel)
-  , m_selfEndorseCertificate(NULL)
+  , m_contactManager(contactManager)
 {
   ui->setupUi(this);