how to avoid refresh shared prefrences default values in segment control
<p>In my application i have two classes one have two buttons and two text views and another one class have list view. At first textview1 and textview2 display default value. If i click button1, it shows some items in that list view and selected item store into shared preferences and display into textview1, and again i click button2, if shows other some items in that list view and selected item store into shared preferences and display into textview2. But after that button2 click event, that textview1 is changed into default value. what is the problem here? any one can help me? here i added my code,</p>

<pre><code> btnToPrice.setOnClickListener(new View.OnClickListener() {


        public void onClick(View v) {
            // TODO Auto-generated method stub

            String viewTitle = "title";
            launchNewActivity(getItemIdentifierName(bikePriceList), PreferenceConnector.BIKE_TO_PRICE, viewTitle);

        }
    });

btnLand.setOnClickListener(new View.OnClickListener() {

        public void onClick(View v) {
            // TODO Auto-generated method stub
                 String viewTitle = "title";
                    launchNewActivity(getItemIdentifierName(countryList), PreferenceConnector.COUNTRY_NAME, viewTitle);
                        }
                    });


 public void launchNewActivity(ArrayList itemKey,String itemName, String title){
        intent=new Intent(getParent(),WheelActivity.class); 
        intent.putExtra("Title", title);
        intent.putExtra("ItemKey",itemKey);  
        intent.putExtra("item_Name",itemName);
        intent.putExtra("selectedValue",PreferenceConnector.readString(Bikes.this,PreferenceConnector.BIKE_BRAND, null));
        intent.putExtra("backButton","Gebrauchte");
        System.out.println("kkkkkk"+txtBikeBrand.toString());
        TabGroupActivity parentActivity =(TabGroupActivity) getParent();
        parentActivity.startChildActivity("BikeToPrice", intent);
 }
</code></pre>

<p>here i am using segment control if i select another radio button  it refreshed, any one can help me?</p>
