title: Change dynamically items in a listView
body: <p>I'm using a custom <code>ListView</code> with a <code>Title</code> and a <code>Subtitle</code> where you can read a brief explanation of the item.</p>
  
  <p>For each item on the list, I'm displaying an <code>AlertDialog</code> to select an option (different for each case). When the option is selected, i want to change the Subtitle for the option selected by the user.</p>
  
  <p>This is what I've tried:</p>
  
  <pre><code>listview.setOnItemClickListener(new OnItemClickListener() {
      public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position, long id) {
          switch(position){
          case 0: 
          final CharSequence[] alertText1 = {"Area 1", "Area 2", "Area 3"};
          ventana.setTitle("Choose an Area");
          ventana.setItems(alertText1, new DialogInterface.OnClickListener() {
              public void onClick(DialogInterface dialog, int item) {
                    TextView subTitulo = (TextView) findViewById(R.id.subTitulo);
                    subTitulo.setText(alertText1[item]);
              }
          });
          ventana.show();
          break;
  
      case 1: 
          final CharSequence[] alertText2 = {"1", "2", "3", "5", "10", "20", "60"};
          ventana.setTitle("Max. duration");
          ventana.setItems(alertText2, new DialogInterface.OnClickListener() {
              public void onClick(DialogInterface dialog, int item) {
                  TextView subTitulo = (TextView) findViewById(R.id.subTitulo);
                  subTitulo.setText(alertText2[item]);
              }
          });
          ventana.show();
          break;
  
      case 2: 
          final CharSequence[] alertText3 = {"3", "5", "10", "20", "30", "60"};
          ventana.setTitle("Time between events");
          ventana.setItems(alertText3, new DialogInterface.OnClickListener() {
              public void onClick(DialogInterface dialog, int item) {
                  TextView subTitulo = (TextView) findViewById(R.id.subTitulo);
                  subTitulo.setText(alertText3[item]);
              }
          });
          ventana.show();
          break;
  </code></pre>
  
  <p>For the first item on the list it works fine, when I select an option, the subtitle get replaced by that option, but when I make a selection in the <code>AlertDialog</code>s of the other 2 items, the option selected replaces the subtitle of the first item!</p>
  
  <p>Any idea of how can I fix that?</p>