synchronize relative code with the layout of Options Dialog