Thank you for implementing the feature, unfortunatelly it is currently bugged.
When the option to “refill only if stall is empty” is ticked, the bot gets stuck in an infinite loop of opening and closing a stall.
Example:
"
[18:06:54] Stall: Stall has been created
[18:06:59] Stall: Stall has been exited
[18:07:06] Stall: Stall has been created
[18:07:11] Stall: Stall has been exited
[18:07:18] Stall: Stall has been created
[18:07:23] Stall: Stall has been exited
"
When unticking the option, its works normally.
Even when the stall is opened with the option unticked, and afterwards the option gets ticked it closes the whole stall after one sale and get stuck again in the infinite opening and closing loop.