Render correct view