Added a menu button to export learning data as xml