fixed bug with calculation/rescale button if settings were modyfied