I'd rather move the YesNo dialog to https://github.com/yaminorito/LNReader-Android/blob/d613e723e7d4cf9dc3fb57805a8e5b161249d9ac/LNReader/src/com/erakk/lnreader/activity/DisplaySettingsActivity.java#L521 so the function is clean from UI method.