Cleanup code in TemplateChooserView.jsx