Remove debugging lines
Make re-render button able to replay the layout