Added setSecondaryFragment method