void UserInterface::printSearchList(string searchTerm, int viewType) {
    printNotificationSearchTerm(searchTerm);
    ViewType *taskListType;

    switch(viewType) {
    case -1:
        taskListType = new ViewType(_taskList);
        break;
    case 0:
        taskListType = new ViewType0(_taskList);
        break;
    default:
        break;
    }
    printDisplayList(createDisplayBox(taskListType->createDisplayList()));
    delete taskListType;
}
void UserInterface::printTaskList(int currentDate ,int viewType) {
    ViewType *taskListType;

    switch(viewType) {
    case -1:
        taskListType = new ViewType(_taskList , currentDate);
        break;
    case 0:
        taskListType = new ViewType0(_taskList , currentDate);
        break;
    case 1:
        taskListType = new ViewType1(_taskList , currentDate);
        break;
    default:
        break;
    }
    printDisplayList(createDisplayBox(taskListType->createDisplayList()));
    delete taskListType;
}