changed task parameters affected by buttons, added recalculation of tasks weight