Update activity constructor to new task_manager interface