Fix :sunglasses:
Fix :sunglasses:

Fixes statistics data update when API is selected and bunch of bugs.

Digipalvelutehdas/APIKA,Digipalvelutehdas/apika-dashboard,Digipalvelutehdas/APIKA,Digipalvelutehdas/APIKA,Digipalvelutehdas/apika-dashboard