Modify dialog content String type to CharSequence and add the variable of theme for setting dialog style