Restore button definition and flash message div in import_export view
Change method to only replace flash message div

Fixes #763
Merge pull request #764 from dclarizio/fix_automate_reset

Restore button definition and flash message div in import_export view