closes #9 - provide fragments tag as parameter in onbuttonclick