Add idle task after creating a view