Buggy code:
@ Override public boolean onOptionsItemSelected ( MenuItem item ) { } @ Override public void onBackPressed ( ) { } @ Override public void onClick ( View v ) { } @ Override public boolean onLongClick ( View v ) { } @ Override public void onWheelIntChanged ( int new_val ) { } @ Override public void onWheelFloatChanged ( float new_val ) { } @ Override public boolean onKey ( View v , int keyCode , KeyEvent event ) { } @ Override public void afterTextChanged ( Editable et ) { } @ Override public void beforeTextChanged ( CharSequence s , int start , int count , int after ) { } @ Override public void onTextChanged ( CharSequence s , int start , int before , int count ) { } @ Override protected void onActivityResult ( int requestCode , int resultCode , Intent data ) { } private void activate_number_activity ( int ex_num , String title , String orig , boolean dec_point ) { } private void init_wheels ( ) { } private String test_for_empty_string ( String str ) { } private void set_wheel_width ( ) { } protected void setup_reps ( ) { } protected void setup_levels ( ) { } protected void setup_calories ( ) { } protected void setup_weights ( ) { } protected void setup_dist ( ) { } protected void setup_time ( ) { } protected void setup_other ( ) { } protected void setup_notes ( ) { } protected boolean turn_off_bar ( int id , boolean exists , boolean above ) { } protected void turn_off_widget ( int id ) { } private int get_num_enabled_forms ( ) { } private void clear ( ) { } void clear_stress ( ) { } void clear_wheels ( ) { } private void entered_set_msg ( String name ) { } private void save ( ) { String str ; SQLiteDatabase db = null ; try { db = g_db_helper . getWritableDatabase ( ) ; ContentValues values = new ContentValues ( ) ; values . put ( SET_COL_NAME , m_task . m_ex_data . name ) ; if ( m_reps_tv . isEnabled ( ) ) { str = m_reps_tv . getText ( ) . toString ( ) ; values . put ( SET_COL_REPS , my_parse ( str , false ) . i ) ; } if ( m_weight_tv . isEnabled ( ) ) { str = m_weight_tv . getText ( ) . toString ( ) ; values . put ( SET_COL_WEIGHT , my_parse ( str , true ) . f ) ; } if ( m_level_tv . isEnabled ( ) ) { str = m_level_tv . getText ( ) . toString ( ) ; values . put ( SET_COL_LEVELS , my_parse ( str , false ) . i ) ; } if ( m_calorie_tv . isEnabled ( ) ) { str = m_calorie_tv . getText ( ) . toString ( ) ; values . put ( SET_COL_CALORIES , my_parse ( str , false ) . i ) ; } if ( m_dist_tv . isEnabled ( ) ) { str = m_dist_tv . getText ( ) . toString ( ) ; values . put ( SET_COL_DIST , my_parse ( str , true ) . f ) ; } if ( m_time_tv . isEnabled ( ) ) { str = m_time_tv . getText ( ) . toString ( ) ; values . put ( SET_COL_TIME , my_parse ( str , true ) . f ) ; } if ( m_other_tv . isEnabled ( ) ) { str = m_other_tv . getText ( ) . toString ( ) ; values . put ( SET_COL_OTHER , my_parse ( str , true ) . f ) ; } int cond ; if ( m_ok_rb . isChecked ( ) ) cond = DatabaseHelper . SET_COND_OK ; else if ( m_plus_rb . isChecked ( ) ) cond = DatabaseHelper . SET_COND_PLUS ; else if ( m_minus_rb . isChecked ( ) ) cond = DatabaseHelper . SET_COND_MINUS ; else if ( m_x_rb . isChecked ( ) ) cond = DatabaseHelper . SET_COND_INJURY ; else { cond = DatabaseHelper . SET_COND_NONE ; Log . e ( AddSetActivity . tag , "Illegal<seq2seq4repair_space>stress<seq2seq4repair_space>condition<seq2seq4repair_space>while<seq2seq4repair_space>saving!" ) ; } values . put ( SET_COL_CONDITION , cond ) ; values . put ( SET_COL_NOTES , m_notes_tv . getText ( ) . toString ( ) ) ; Calendar now = Calendar . getInstance ( ) ; values . put ( SET_COL_DATEMILLIS , now . getTimeInMillis ( ) ) ; db . insert ( SET_TABLE_NAME , null , values ) ; } catch ( SQLiteException e ) { e . printStackTrace ( ) ; } finally { if ( db != null ) { db . close ( ) ; db = null ; } } entered_set_msg ( m_task . m_ex_data . name ) ; AddSetActivity . m_db_dirty = true ; <START_BUG> InspectorActivity2 . m_db_dirty = true ; <END_BUG> GraphActivity . m_db_dirty = true ; ExerciseTabHostActivity . m_dirty = true ; clear_stress ( ) ; m_notes_tv . setHint ( m_notes_tv . getText ( ) ) ; m_notes_tv . setText ( null ) ; } private void test_to_save ( ) { } private boolean test_and_warn_significant ( int column_num ) { } private IntFloat my_parse ( String str , boolean is_float ) { } static class ASetASyncTask extends AsyncTask < Void , Void , Void > { private static final String tag = "ASetSyncTask" ; boolean m_done = false ; private AddSetActivity m_activity = null ; protected ExerciseData m_ex_data = null ; protected SetData m_last_set = null ; public ASetASyncTask ( AddSetActivity activity ) { } @ Override protected void onPreExecute ( ) { } @ Override protected Void doInBackground ( Void ... args ) { } @ Override protected void onPostExecute ( Void result ) { } public void attach ( AddSetActivity activity ) { } public void detach ( ) { } public void kill ( ) { } public boolean isDone ( ) { } } }

Fix:
InspectorActivity3 . m_refresh = true ;