code: public void startFragment(Fragment fragment, String tag, boolean canAddToBackstack) {
  		FragmentTransaction transaction = getSupportFragmentManager().beginTransaction().replace(R.id.fragmentContainer, fragment);
  		if (canAddToBackstack) {
  			transaction.addToBackStack(tag);
  		}
  		transaction.commit();
  
  	}
docs: Start given Fragment
  
  @param fragment
  : Fragment Instance to start.
  @param tag
  : Tag to be notified when adding to backstack
  @param canAddToBackstack
  : pass <code>true</code> if you want to add this item in backstack. pass <code>false</code> otherwise