Search bar re-assigns location successfully