Added feature to re initialize the tasks start id if story type changed