Added templates for language selection methods to firstpageactivity.