fix: Settings FC when WiFi tethering is active.

* When filling the 'connected devices' list the function in charge of this
  assumes that the activity for which a 'new preference' is being alloc-
  cated for still exists.
* This is sometimes not the case when an user decides to navigate back to
  the 'Tethering & portable hotspot' settings menu.
* In this case the function will try to allocate a new preference for an
  activity == NULL and lead to a Settings FC.

  Logcat showing the FC: https://gist.github.com/myzb/765d03172078a7657fb0

Change-Id: I34dcafe9286443220867399f22dccb75a4b40d38
SuperSU header
[2/2] Profile: Screen timeout
[2/2] Buttons: Immersive mode
[2/2] Quick pulldown: center
[2/2] Smart pulldown
[2/2] Volume panel timeout
[2/2] Battery light: Quiet hours & 100% charged
[2/2] Low battery warning policy
[2/2] Network traffic indicator
[2/2] Floating window
[2/2] Lockscreen notifications