Make a class for each mode button
Calculate modes out of available buttons
Add a superclass for mode buttons
Automatically hide menu if only one feature