Hi, Johan!
Testing your library I met the following event.
Well, while tethering or access point is active (Wi-Fi Hotspot is on)
the WiFi icon is crossed out (in other words, inactive?). Despite this, the AP works without a problem.
Can this icon (see file
2018-04-11_1.png) somehow activate?
Besides, the library is well made.
It is a pity that it is not free, but for personal use
Regards.