function RelativeErrorButtonPushed(app, event)
filter = {'*.txt', 'Text File'; ...
'*.xslx', 'XSLX File'; ...
'*.pdf', 'PDF Document';...
'*.*', 'All Files'};
[file, path] = uiputfile(filter, 'File Selection', 'Error_Percent');
app.filename = fullfile(path, file);
assignin ("base","filter",filter);
Head1 = app.Error_Percent(:,1);
Head2 = app.Error_Percent(:,2);
Head3 = app.Error_Percent(:,3);
Head4 = app.Error_Percent(:,4);
Head5 = app.Error_Percent(:,5);
T = table(Head1, Head2, Head3, Head4, Head5, app.Error_Percent);
writetable(T,app.filename,'Delimiter', ' ', "Encoding", 'UTF-8');
end