Added method updateFilterToXml
Commit before changing layouts
Fixed save method to work with new layout
Small adjustments
Documented class and methods, and commented portions of code