Make "Clear Data" button work (local client only)