Minor refactoring

Move the identical function calls outside of the if-else block.
Don't update overlayCaches if just one point is displayed

This fixes a race conditions between doDisplayRun() and displayPoint()
which caused the wrong waypoint to be displayed.
fix #4221: respect "live" toggle when starting live map
Merge remote-tracking branch 'origin/release'
Get the initial location from Android at startup time
Merge branch 'release' into upstream
Merge branch 'release' into upstream
Update Intellij IDEA file
Revert "#4179: only open a cache whose geocode is available"

This reverts commit 4ad1d9133fce97f11f7ea86b25549bb86b9bd668.
Merge branch 'release' into upstream
Merge branch 'release' into upstream
fix #4230: NPE in parseCache
In the emulator, emit one dummy direction to get position on map

The position overlay is only drawn when we have a (position, direction)
couple.
Use shorter warning messages
Merge branch 'release' into upstream
Merge branch 'issue-4229' into upstream
Escape double-quote in changelog XML
Merge branch 'release' into upstream
Workaround for #4232
Merge branch 'release' into upstream