Add code for tabbed menu in chapter 4 case 1