(GLUI) Refactor code