Use onStart()/onStop() to (un)register broadcast receiver
Remove redundant input type flag "text"
Get rudimentary WLAN scanning to work (issue #2)