Improve rooms editing in java frontend