Add option to configure titlebar buttons layout