Reformatting of application layout