Fixed bug with when trying to remove gpsListener before being initialized.