Protip: In situations like this, do "if (message.isEmpty()) return;" instead to avoid nesting! =) Code will look better and be easier to read!