older device compatibility, wrap messageview.setTextDirection and new AlertDialog.Builder