added the auto expand when creating a new subtask