public void addHobby(String title, String description) {
   Hobby hobby = new Hobby(title, description);
   if (contact.getHobbies().contains(hobby)) {
     System.out.println("This contact already has such hobby");
   } else {
     contact.getHobbies().add(hobby);
   }
 }
 public void addPlace(String title, String description, double longitude, double latitude) {
   Place place = new Place(title, longitude, latitude, description);
   if (contact.getPlaces().contains(place)) {
     System.out.println("This contact already has such place");
   } else {
     contact.getPlaces().add(place);
   }
 }
 public void createContact(String login, String firstName, String lastName, LocalDate birthDate) {
   // contact = new Contact(login, firstName, lastName, birthDate);
   if (contactDao.getContactMap().containsKey(login)) {
     System.out.println("This login isn't unique! Enter unique login");
   } else {
     contact.setLogin(login);
   }
   contact.setFirstName(firstName);
   contact.setLastName(lastName);
   contact.setBirthDate(birthDate);
   contactDao.addContact(contact);
 }