Export function(s) ready

Added Export button to export only a selected row and Export All button
to export the whole result. Also linked the line edit objects with the
buttons, so now whenever a text is typed into the line, the
corresponding button is selected automatically.