working with ViewManager on preRender