Fixed bug when leaving recognized location
Changed check on oldLocation to oldLaocationName in SimpleLocalization