Change state to rooms on submit.