Spark Integration: Add workflow sparks in applications too

Quickfix to make spark in workflow also be added to application.