Fix for StrictMode error.

When the device lost connectivity, a StrictMode error could be thrown since
the stream was never closed.
Restore code to remember the last direction messages were displayed in
Use different background for selected messages in message list
Don't finish() MessageList when forwarding or replying to a message
Avoid NPE
Avoid NPE reported via Play Store
Avoid NPE
Avoid NPE reported via Play Store
Fix NPE when moving a message from Unified Inbox (multiple accounts)
Don't load resources when activity is not attached
Fix NPE on isAccountNameUsed
Add settings import on Welcome
Fix welcome message layout
Fix indentation/code style
Refactor code to start Accounts activity to import settings
Merge branch 'improve_import'
Fix error duplicating false accounts when adding an account
Fix indentation and code style
Center folders without status (e.g. outbox) in folder list again.
Fix message list item background color