modified saveGroup a little, read BeaconManager.h for function descriptions