Adding option to use a view that is set by the application