...
//   
BuildNameList();
//  
String name = SearchBirthday();
//   
if(name!=null) {
    //   
    Form remindForm = new Form("Reminder");
    //    
    remindForm.append(name + " has a birthday today!");
    //   
    remindForm.addCommand(ok);
    remindForm.setCommandListener(this);
    //  
    display.setCurrent(remindForm);
} else
    //     
    display.setCurrent(nameList);
...
