Added ZONE_CHANGED_INDOORS to location function