Updating layout of the application and animations