Split the configuration values from strings.xml
Added a quit option.
Go to the login screen if the chat service got restarted.