modify the application layout