The white plastic water tank valve.. How to reinstall it ?

How do I replace/reinstall the white water tank valve
I took it out just to see how easy it was to take apart, and now it will not stay in place