Moved language state management to command, rather than working directly with button. Fixed menubutton in order to hide, when its clicked while being unfolded.