change the layout for function buttons window