When it has 1 crystal left in inventory, the bot starts using it, and when i start to get xp, it buy more crystals, and wastes 1 crystal each time.
so basically:
1 crystal left -> using it / cleaning it -> 1 sec later, quitting the interface / xp gaining, and waiting for the crystal to be...