Improve SelectQuery for Subtasks
Do not create Subtask-Loops
Refactor DueDialog