I have activity, with two fragments. `FragmentSurahDetail` and `FragmentTafsir`. `FragmentTafsir` is added when the event "OnOpenTafsir". If `FragmentTafsir` added and to change the orientation, `FragmentTafsir` disappears from the screen. Any idea how to fix it?

here is my code:

```
public class ActivitySurahDetail extends AppCompatActivity implements FragmentSurahDetail.SurahListener {
    Toolbar toolbar;
    final String LOG_TAG = "ASD Tag";
    private static final String TAFSIR_FRAGMENT_TAG = "tafsir_fragment";
    private static final String SURAH_DETAIL_TAG = "surah_fragment";
    int surah_id;
    FragmentTafsir fragmentTafsir;
    private boolean favoriteMode;
    FragmentTransaction fragmentTransaction;
    FragmentSurahDetail fragmentSurahDetail;

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        switch (item.getItemId()) {
            case android.R.id.home:
                super.onBackPressed();
        }
        return super.onOptionsItemSelected(item);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.surah_detail_activity);
        Bundle extras = getIntent().getExtras();
        surah_id = extras.getInt("item_id");
        favoriteMode = extras.getBoolean("favoriteMode", false);
        fragmentSurahDetail = new FragmentSurahDetail();
        Bundle args = new Bundle();
        args.putBoolean("favoriteMode", true);
        args.putInt("item_id", surah_id);
        fragmentSurahDetail.setArguments(args);
        getSupportFragmentManager().beginTransaction().replace(R.id.surah_detail_container, fragmentSurahDetail, SURAH_DETAIL_TAG).commit();
        // Show the Up button in the action bar.
        toolbar = (Toolbar) findViewById(R.id.tool_bar);
        setSupportActionBar(toolbar);
        getSupportActionBar().setDisplayHomeAsUpEnabled(true);

    }

    @Override
    public void onOpenTafsir(int surah, int ayah) {
        fragmentTafsir = new FragmentTafsir();
        fragmentTransaction = getSupportFragmentManager().beginTransaction();
        Bundle extras = new Bundle();
        extras.putInt("surah", surah);
        extras.putInt("ayah", ayah);
        fragmentTafsir.setArguments(extras);
        fragmentTransaction.addToBackStack(TAFSIR_FRAGMENT_TAG);
        fragmentTransaction.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN);
        fragmentTransaction.replace(R.id.surah_detail_container, fragmentTafsir, TAFSIR_FRAGMENT_TAG).commit();
    }
}

```