//TODO: totally editable messages
Configuration.setStatus(status);
Configuration.flushConfig();
String statusXML = String.format("<body><level>99</level><profileIcon>28</profileIcon><wins>9001</wins><rankedWins>9001</rankedWins><statusMsg>%s</statusMsg></body>", status);
Status selectedStatus = (Status) this.view.presenceComboBox.getSelectedItem();
Mode presenceMode = Presence.Mode.chat;
if (selectedStatus.getDisplay().equals("Away")) presenceMode = Presence.Mode.away;
Presence newPresence = new Presence(Presence.Type.available,statusXML,1,presenceMode);
XMPPWrapper.getConnection().sendPacket(newPresence);
}