Fix empty UIpickerview from appearing no locations

Fixed the empty UIPickerView from appearing when no locations exist. I
am a wizard.