The problem on your system seems to be clicking on the AdvPic control, and the only functions in Diving Log are the flag picture, the brevet pictures and the help button, so you shouldn't click on this until we find a solution.
No, sorry, I couldn't find anything. I could not rebuild this problem on my test environments and no one else can report this problem. So it is very difficult to find a solution if I couldn't simulate the bug. The only way would be If I make for the flag selection a seperate button, I think that's the best solution.
The problem on your system seems to be clicking on the AdvPic control, and the only functions in Diving Log are the flag picture, the brevet pictures and the help button, so you shouldn't click on this until we find a solution.