Fix bug where the app would no longer receive location updates