change to messagebar some messageboxes in mainapp