Added code to simulate speed (helps when testing in some emulators that don't send speed when simulating GPS (e.g. genymotion)