In 3.1 app runs fine open with 4 and when I run there are errors buttons missing in a specific window