Replace manual switching with LiteDeviceDelegatingViewResolver