Saving state on appliance type

Please review changes and merge if the issue seems resolved
https://redmine.dev.cyfronet.pl/issues/3294
If this value is used by the normal user then I believe that only active compute sites should be taken into account.