Refactor dialog fragments per https://github.com/emmby/android-for-dummies-v3/pull/9/files

Thanks stephane!