Fix NullPointerException on locale change.

Change-Id: Ib6f33c324164b4fda59a3cd3d7f00da82396e04d