GEOS-6466 CSSDemoPage may create the sld file before a CatalogAddEvent is fired

Just move the catalog.add after the file cration