Fix #17: Crash when switching to Map tab, then to Details tab, then back to Map tab

Fix race between creating options menu and adding offline map tile layer.