Fixed bug with app not releasing GPS listener when unexpectedly stopping.

App only works in the foreground!