Add method defer to viw for deferring process from end of rendering