added action for setting default locale