private void runAction(String paramName, String name){
        Task task = new Task(name);
            
        switch(paramName){
            case "end_task":
                task.finish(); break;
            case "new_task":
                task.create(); break;
        }
    }