Implemented control buttons again

Now control buttons work as they should
Merge pull request #9 from Alexey-Abakumkin/Control

Implemented control buttons again