Immersive mode, which is a native feature, is built for games. I guess that the overlay menu causes the bars to reappear. It can also happen when the keyboard becomes visible.
Try to call Activity_WindowFocusChanged (True) after the user selects an option.