onCreateDialog doesn't refresh message
<p>I try to create AlertDialog. It works but setMessage doesn't refresh message. Code snippet below:     </p>

<pre><code>@Override
    protected Dialog onCreateDialog(int id) {
        super.onCreateDialog(id);
        switch (id) {
           case CONFIRM:                    
                confirmView = new LinearLayout(this);

                return new AlertDialog.Builder(this)
                        .setIcon(android.R.drawable.ic_dialog_info)
                        .setView(confirmView)
                        .setCancelable(false)
                        .setTitle("The WiFi")                      
                        .setMessage(infoMsg);
                        .setPositiveButton("Ok", new DialogInterface.OnClickListener() {
                            public void onClick(DialogInterface dialog, int whichButton) {
                                Functionality.StartWiFiManager(ControllerService.this);
                            }
                        })                         
                        .setNegativeButton("Cancel", new OnClickListener() {                            
                            @Override
                            public void onClick(DialogInterface dialog, int which) {                                    
                            }
                        })
                        .create();  
       }
}   
</code></pre>

<p>Invoking:</p>

<pre><code>infoMsg = "My message";     
showDialog(CONFIRM); 
</code></pre>

<p>So when I change my infoMsg and invoke showDialog again, the message is the same.
What am I doing wrong? Please, help me.</p>
