add listener for button functionality, optimize time intervals
Merge pull request #11 from rbenapfl/buttonbuttonwhosgotthebutton

add listener for button functionality, optimize time intervals