Added BooleanButton class

Misc. changes
better management of when a menu is clicked
close #39