First UI function

Lets the user select an option from a table. Will be used to select the
peripheral and other uses later on.