Enable "export data" button when variables are filled in

... even when no data has yet been collected.
Disable the metadata fields until the sensor applet is ready
Better handling of enabling/disabling buttons when exporting
Clear metadata after export