LPS-32582 Fixed default color scheme retrival

Hi Tamás,

In this PR I fixed the logic to get the default color scheme. Based on my discussion with @KocsisDaniel, I introduced the factory pattern to the code and he already reviewed/formatted it. I verified that the modifications are working and per his request I send this PR to you to forward it to the appropriate person.

Regards,
Vilmos