fun checkMaxLengthAllowed(text: String): String
Checks that the text has no more than 50000 chars. Else cuts the String.