Implement singleton pattern in LocationData.

Signed-off-by: Stephan Hoehne <S2H.Mobile@gmail.com>