Java 7: Remove unnnecessary type mentions in generics.
Java 7: Use switch instead of if/else/else with strings.
Avoid a duplicate catch block.
Remove unnecessary imports.
DatabaseListFragment: Use CursorLoader instead of (deprecate) managedQuery().