fixes #13 - rename onbuttonclick