implemented rudimentary devices menu using dynamically generated tabs