Added widget factory for create task. Modifications