public void RemoveTask(Task task, TaskSegment taskSegment)
        {
            int index = (int)taskSegment;

            tasks[index].Remove(task);
            tasksAmount[index]--;
        }
        public void AddTask(Task task, TaskSegment taskSegment)
        {
            int index = (int)taskSegment;

            tasks[index].Add(task);
            tasksAmount[index]++;
        }