Fix FC on dialog dismiss

If orientation changes during dialog display, dialog.dismiss() throws an
exception on some platforms.
Update target SDK version to 17
Lint fixes
Release 1.10