Added the possibility to display only one activity