protected void buttonPressed(int buttonId) {
if (buttonId == OK){
if (!school.getText().trim().equals("") ){
if ( !alreadyExistySchools()){
try{
system.execute(new AddStudentSchool(school.getText()));
studentAcademinInfo.redrawSchool();
close();
}catch(TransactionDateException e){
setErrorMessage(MessageConstants.TRANSACTION_DATE_EXCEPTION);
}