protected void newProfile(String text) {
		boolean doit = true;
		for(int i=profiles.size()-1; i>=0; i--) {
			Profile p = profiles.get(i);
			if(p.name.equals(text)){
				doit = false;
			}
		}
        if(doit && text.length()>2){
			profiles.add(new Profile(text,"base"));
			profileListMdl.addElement(text);
			txtProfile.setText("Profile"+(profiles.size()+1));
        }
        writeData();
	}