Spinner doesn't refresh value if back button is pressed
<p>So right now I have an activity that has a Spinner. You can choose multiple options from the Spinner. Say the options are <code>Foo,Bar,FooBar</code>.</p>

<p>So, the user selects <code>Foo</code>, at which point:</p>

<pre><code>Spinner mySpinner= (Spinner) findViewById(R.id.mypinner);
adapter = new ArrayAdapter&lt;String&gt;(
this, android.R.layout.simple_spinner_item);

adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
getAllNames("dbtable");
mySpinner.setAdapter(adapter);
mySpinner.setOnItemSelectedListener(new SpinnerOnItemSelectedListener());

 public class SpinnerOnItemSelectedListener implements OnItemSelectedListener {

        public void onItemSelected(AdapterView&lt;?&gt; parent,
            View view, int pos, long id) {

            spinnerChoice= parent.getItemAtPosition(pos).toString();

        }

        public void onNothingSelected(AdapterView parent) {
          // Do nothing.
        }
    }
</code></pre>

<p>Now, I use <code>spinnerChoice</code> to query a database, and I get a double returned, <code>spinnerDouble</code>.</p>

<p><code>spinnerDouble</code> is an extra for an Intent, and displays on the next screen. If the users hits the physical back button, and selects a new value from the Spinner, it will still contain the original value, instead of the value for the new choice.</p>

<p>What can I do to make sure that <code>spinnerChoice</code> gets updated?</p>
