Added working segmented buttons for the tables.