Convert sample app layout to list view.

Save data on configuration change.
Styles headers and list dividers in sample app
Short circuit setMockMode() if disconnected to prevent NPE.
Sample app updates