If your hub 4 keeps reverting back to factory settings on wifi
Try this work around (these hubs have firmware issues)
Through trial and error looks like i have solved the issue !
When personalising the ssid and passwords and using dual 2.4 and 5 ghz wifi disable channel optimisation
Pre set a channel to your liking on 2.4 and 5 ghz do not let the hub choose !
Save and it will remain stable !