fix bug with zero-length string

The zero-length string would be the way to set the badges back to displaying
the default message. However, there was a problem with sending a zero-length
string, where it would need 256 additional bytes before it wrapped around and
did as intended.