Created a separate view for the type selection.