How do I make a task to be a sub-task and vice versa?
Swiping the task from right to left will return the task to its previous state.
Note that sub-tasking is available only if tasks order is Manual (tap the title at the top of the tasks view to change tasks order).