Adding location settings detection feature