Can listen to single button press action.
Can listen to different buttons separately.
Extracted main method to separate class.