Profile signing is working
diff --git a/src/contactpanel.cpp b/src/contactpanel.cpp
index f103100..985d0a8 100644
--- a/src/contactpanel.cpp
+++ b/src/contactpanel.cpp
@@ -33,7 +33,6 @@
     , ui(new Ui::ContactPanel)
     , m_contactStorage(contactStorage)
     , m_contactListModel(new QStringListModel)
-    , m_profileEditor(new ProfileEditor(m_contactStorage))
     , m_addContactPanel(new AddContactPanel())
 {
   
@@ -45,6 +44,8 @@
     db.setDatabaseName(path);
     bool ok = db.open();
 
+    m_profileEditor = new ProfileEditor(m_contactStorage);
+
     QStringList contactNameList;
     contactNameList << "Alex" << "Wentao" << "Yingdi";