Update OsmandSettings.java



Possible Fix for crashing when Opening the general Settings after changing back the Unit setting.

Victor could you please check if this correct?