Changed handling of buttons

- Changed handling of buttons for details and message boxes, because
sometimes buttons are not presented correctly
- Changed to XF 1.3.0