setup buttons for export to text file and tested program to be working