private void createTask(HashMap<Keyword, String> parameters) {
        String value;
        Task task = new Task();
        for (Keyword key : parameters.keySet()) {
            value = parameters.get(key); 
            if (key.equals(Keyword.CONTENT)) {
                task.setValue(key, value);
            } else if (key.equals(Keyword.START)) {
                task.setValue(key, value);
            } else if (key.equals(Keyword.END)) {
                task.setValue(key, value);
            } else if (key.equals(Keyword.ALLDAY)) {
                task.setValue(key, value);
            } else if (key.equals(Keyword.TYPE)) {
                task.setValue(key, value);
            }
        }
        dataHandler.createTask(task);
       
        result.add(ANNOUNCEMENT_CREATE);
        parameters.clear();
        parameters.put(Keyword.CONTENT, "");
        ArrayList<Task> queryResult = dataHandler.readTask("", false, "", 
                                                           "", false, false);
        for (Task i : queryResult) {
            result.add(i.getDisplayedString());
        }
    }