private void UpdatePassword(object sender, EntryDataPasswordEventArgs updatePasswordEventArgs)
        {
            new Thread(() =>
            {
                Response res = CommunicationManger.GetInstance()
                               .RequestUpdatePassword(updatePasswordEventArgs.ID, updatePasswordEventArgs.Name,
                                                      updatePasswordEventArgs.Pass);

                if (res.Success)
                {
                    int i    = items.FindIndex(x => x.ID == res.ID);
                    items[i] = new PasswordEntry(res.ID, updatePasswordEventArgs.Name);
                }
                else
                {
                    this.RunOnUiThread(
                        () => { Toast.MakeText(this, "Could not update password\n" + res.ErrorMsg, ToastLength.Long).Show(); });
                }
            }).Start();
        }
        private void AddPassword(object sender, EntryDataPasswordEventArgs addPasswordEventArgs)
        {
            new Thread(() =>
            {
                Response res = CommunicationManger.GetInstance()
                               .RequestAddPassword(addPasswordEventArgs.Name, addPasswordEventArgs.Pass);

                if (res.Success)
                {
                    items.Add(new PasswordEntry(res.ID, addPasswordEventArgs.Name));
                }
                else
                {
                    this.RunOnUiThread(
                        () =>
                    {
                        Toast.MakeText(this, "Could not add password\n" + res.ErrorMsg, ToastLength.Long).Show();
                    });
                }
            }).Start();
        }