OsmandSettings storing logic refactored.