Fix devicesettings permissions