added default language to template
changed parameter name for isDefault
added functionality for selecting default language