Fixed bug with select all

Select all no longer crashes the app when it is clicked and there are no
items in the selection table. Also merged a few functions to create less
clutter.
Fixed. Generating report affected the selection
Lists sync faster
Fixed bug regarding selection

It was possible to select the top row in the deselected windows.
Synched the select all header to selection list

Still an issue with the header not repaiting itself after selection, but
it does get selected/deselected correctly
sql queries now account for all selected
Fixed a bug with the regex

Unmatched parentheses in a customer name caused pattern syntax errors.
Fixed the bug by using Pattern.quote on the string before compiling the
String to a Pattern.
Finished the regex

It now matches both customer id and customer name when both are provided