Setting a button enabled

view story

http://stackoverflow.com – I have a main page that has a 2 buttons, button1 is enabled and button2 is disabled. button1 will open 2nd page that has 1 button named button3. button3 will intent BACK to the main page and it should make the button2 enabled. the problem is button2 will become enabled for a short period then back to being disabled(shaded). Main page. import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.View; import android.widget.Button; public class Enable extends Activity { @Override protected void onCreate(Bundle savedInsta (HowTos)