Adding fragments without saving to history stack?

When you use FragmentTransaction to add fragment there is addToBackStack() method, if you don't use it, it won't be in the stack.

// it won't add to stack
getSupportFragmentManager().beginTransaction()
      .add(R.id.container, new PlaceholderFragment())
      .commit();

// fragment will be added to stack
getSupportFragmentManager().beginTransaction()
     .add(R.id.container, new PlaceholderFragment())
     .addToBackStack("placeholder")
      commit();

By default fragments are not added to backstack. You need to remove call to addToStack() from your code.