EventHandler for getting ID of service