Check the mechanical action of your button that selects the true/false case (right-click on the front panel control and select "mechanical action")> Make sure it is set to e.g. "latch when released", this will cause it to go back to false once the diagram reads it. If it is set to one of the switch actions, it will remain true.
If this is not the problem, please attach a sample of your code.