Add selectedView, missing view variable in template have problem to select page at task page