new task have type according to created view