private void Change_TasksState() { var count = TasksList.Where(t => t.IsDone == false).Count(); if (count != 0) { TasksStateString = NotCompleted + count; LabelBackGround = "Red"; } else { TasksStateString = AllDone; LabelBackGround = "Green"; } ForeGround = "white"; }