 					Dom.cls 'stepbar-left'
 					Dom.onTap !->
 						Db.local.set('currentSetupPage', 'setup1')
+						placedBeacons = true
 				# Middle block
 				Dom.div !->
-					Dom.text tr("Beacon setup")
+					Dom.text tr("Place beacons")
 					Dom.cls 'stepbar-middle'
 				# Right button
 				Dom.div !->

			# Info bar
			Dom.div !->
				Dom.cls 'infobar'
				Dom.text "Drag the corners of the rectangle to define the game area, during the game the map view will be limited to the selected area."
		else if currentPage is 'setup2' # Setup beacons
			# Bar to indicate the setup progress
			Dom.div !->

				if mapReady()
					loc1 = L.latLng(Db.shared.get('game', 'bounds', 'one', 'lat'), Db.shared.get('game', 'bounds', 'one', 'lng'))
					loc2 = L.latLng(Db.shared.get('game', 'bounds', 'two', 'lat'), Db.shared.get('game', 'bounds', 'two', 'lng'))
					log loc1 + " " + loc2
					window.boundaryRectangle = L.rectangle([loc1, loc2], {color: "#ff7800", weight: 5, fillOpacity: 0.05, clickable: false})
					boundaryRectangle.addTo(map)
					map.on('contextmenu', addMarkerListener)
