Ensure the toolbar buttons are properly reset following a CSV download in the Query Tool. Fixes #4096