fix for tax in version < 1.5
preventing double click on buttons