Fix typo in lib
Add callback to buttons click event