Change template header and select all header

The excel document template header is now yellow. The select all header
is now correctly repainted using getContentPane().repaint(). Whitespaces
and searches without any matches in regex has been fixed