bugfix for ordering in menu
toggle buttons