Refactor gpsbutton

just a little polishing of the gpsbutton. Works a little better now and even fixes #66.

Any comments welcome.