private void dataToBook(String key, String value) {
		if (key.toString().equals("title"))
			book.setTitle(value);
		if (key.toString().equals("genre"))
			book.setGenre(value);
		if (key.toString().equals("year"))
			book.setYear(value);
		if (key.toString().equals("author")) {
			String[] author = value.split(", ");

			for (int i = 0; i < author.length; i++)
				book.addAuthor(author[i]);
		}
	}