Added possibility to buy deal automatically.