if (mStorage) {
         QExplicitlySharedDataPointer<PswGen::Storage::Data> data = mStorage->query(wName->text());
         if (!data)
-            data = new Storage::Data(wLength->value());
+            data = new Storage::Data(wName->text(), wLength->value());
         else
             data->setLength(wLength->value());
         mStorage->save(wName->text(), data);
 
 /**
  * Module/library version number in the form major,minor,release,build
  */
-#define VER_FILE_VERSION                0,1,1,1
+#define VER_FILE_VERSION                0,1,2,2
 
 /**
  * Module/library version number in the string format (shall end with \0)
  */
-#define VER_FILE_VERSION_STR            "0.1.1.1\0"
+#define VER_FILE_VERSION_STR            "0.1.2.2\0"
 
 /**
  * Module/library name (shall end with \0)
 
 {
 public:
 
-    Data()
+    Data(QString const & name)
         : QSharedData()
         , mModified(false)
+        , mName(name)
         , mLength(0)
         , mFlags(0)
     {}
 
-    Data(int l, uint f = 0)
+    Data(QString const & name, int l, uint f = 0)
         : QSharedData()
         , mModified(false)
+        , mName(name)
         , mLength(l)
         , mFlags(f)
     {}
 
+    /// Name of the password
+    inline QString const & name() const { return mName; }
+
     /// Length of the generated password
     inline int length() const { return mLength; }
     inline void setLength(int value)
 private:
 
     bool mModified;
+    QString mName;
     int mLength;
     uint mFlags;
 
 
 
     while (q.next()) {
         QString name = q.value(0).toString();
-        QExplicitlySharedDataPointer<Storage::Data> data(new Storage::Data(q.value(1).toInt(), uint(q.value(2).toInt())));
+        QExplicitlySharedDataPointer<Storage::Data> data(new Storage::Data(name, q.value(1).toInt(), uint(q.value(2).toInt())));
         mData.insert(name, data);
     }
 
 
 /**
  * Module/library version number in the form major,minor,release,build
  */
-#define VER_FILE_VERSION                0,1,1,1
+#define VER_FILE_VERSION                0,1,2,2
 
 /**
  * Module/library version number in the string format (shall end with \0)
  */
-#define VER_FILE_VERSION_STR            "0.1.1.1\0"
+#define VER_FILE_VERSION_STR            "0.1.2.2\0"
 
 /**
  * Module/library name (shall end with \0)