modity LocationBox to get currentLocation