Finally working if no connection available
Setting menu added with possibility to set server_url