private void AddPasswordDialog(object sender, EventArgs e)
        {
            FragmentTransaction transaction         = FragmentManager.BeginTransaction();
            AddPasswordFragment addPasswordFragment = new AddPasswordFragment();

            addPasswordFragment.onConfirm += AddPassword;

            addPasswordFragment.Show(transaction, "add password dialog");
        }
        private void UpdatePasswordDialog(object sender, PasswordModifyEventArgs e)
        {
            int    id   = items[e.Position].ID;
            string name = items[e.Position].Name;

            FragmentTransaction transaction         = FragmentManager.BeginTransaction();
            AddPasswordFragment addPasswordFragment = new AddPasswordFragment(id, name);

            addPasswordFragment.onConfirm += UpdatePassword;

            addPasswordFragment.Show(transaction, "add password dialog");
        }