private String taskToStringWithoutSpecifiedLabels(Task task, ArrayList<String> unwantedLabels){
		String labelsToString = "";
		if (task.getLabels() != null) {
			for (String s : task.getLabels()){
				if (hasSameLabels(s ,unwantedLabels)){
					continue;
				}
				labelsToString += " " + "#" + s;
			}
		}

		String dateFromString = "";
		String dateToString = "";
		if (task.getFromDateTime() != null) {
			dateFromString = MyTasksParser.dateTimeFormats.get(0).format(task.getFromDateTime());
		}
		if (dateFromString.contains("00:00")) {
			dateFromString = MyTasksParser.dateFormats.get(0).format(task.getFromDateTime());
		}
		if (task.getToDateTime() != null) {
			dateToString = MyTasksParser.dateTimeFormats.get(0).format(task.getToDateTime());
		}
		if (dateToString.contains("00:00")) {
			dateToString = MyTasksParser.dateFormats.get(0).format(task.getToDateTime());
		}

		String result = "";
		if (dateFromString.equals("")) {
			result = String.format("%s%s ", task.getDescription(), labelsToString);
		} else if (dateToString.equals("")) {
			result = String.format("%s on %s%s", task.getDescription(), dateFromString,labelsToString);
		} else {
			result = String.format("%s from %s to %s%s", task.getDescription(),
					dateFromString, dateToString, labelsToString);
		}
		return result.trim();
	}