Added functionality to change language at runtime