Made the app stop updating location when in the background