Move the ACTION_FORCE_TEXT_MODE check out of