DialogFragment added in order to display messages in it.
Application is working fine (without crash!) on local server.