added in state saving information and added a search dialog to the switch networks button
 fixed layout of the network fragment and saved the state in connect fragment
made code review changes
Merge pull request #317 from ejohnson44/searching_dialog_fix

Searching dialog fix