LocationState::setLocation() method added