Adjust buttons and layouts