Build habitat under water

I built a habitat at the bottom of a lake and it remains filled with water, even after closing it up and installing an oxygenator. Since you can build under water, how come the habitat does not flush out the water after it says 100% oxygen?