finish layout setting