Reorganize gui.