 			if checkinLocationFunction?
 				clearInterval(checkinLocationFunction)
 				checkinLocationFunction = undefined
-				window.inRangeCheckinRunning[Plugin.groupId()] = false
+				window.inRangeCheckinRunning[Plugin.groupCode()] = false
 		else if gameState is 1 # Game is running
 			# Set page title
 			page = Page.state.get(0)

			if checkinLocationFunction?
				clearInterval(checkinLocationFunction)
				checkinLocationFunction = undefined		
				window.inRangeCheckinRunning[Plugin.groupId()] = false			
	Obs.observe ->
		deviceId = Db.local.peek 'deviceId'
		if not deviceId?

											else
												clearInterval(checkinLocationFunction)
												checkinLocationFunction = undefined
												window.inRangeCheckinRunning[Plugin.groupCode()] = false
										if within
											log 'accuracy='+accuracy+', beaconRadius='+beaconRadius
											if accuracy > beaconRadius # Deny capturing with low accuracy
												if not inRangeValue?
													#clearInterval(checinLocation) # TODO check if this is required or causes problems
													#inRangeCheckinRunning[Plugin.groupCode()] = false
													log 'Did not checkin location, accuracy too low: '+accuracy
													Dom.div !->
														Dom.cls 'infobar'
