public void startTask() {
        if (gui.getSelectionRowFromTable() <= tasks.size() && gui.getSelectionRowFromTable() > 0) {
            /* ??? run multiple times if necessary */
            Task temp = tasks.get(gui.getSelectionRowFromTable());
            Task task = new Task(temp.getName(), temp.getDelay(), temp.getTime(), temp.getNumber(), this);
            java.util.Timer timer = new java.util.Timer();
            task.setTimer(timer);
            if (task.getCount() == 0) {
                try {
                    timer.schedule(task, task.getDelay() *  1000, 100);
                } catch(IllegalStateException e) {
                    logger.error("", e);
                }
            }
        }
    }