change the application layout