using UIKit as build filter, trying to fix -objectForKeyedSubscript: crash when toggling Bluetooth