add new method 'setListOfFragmentsInStack'