Fixed Geolocation and Shake to refresh

Also started to add a config page.