Gave resetFilter a parameter, to control if the filtertype must be reset too (when using dropdown for filtertype the method was also called and the dropdown was being reset to null again)
Trailing spaces
Restructured config
Separated cql generation part
Use appLayer for setting filter (now it works with attributelist etc.)