Swift: check defaults[] before activating the systems