add the template choice to the settings tab

issue #136