break down the old UI layout png
added retain_chain flag. That essentially make the behaviour of losing chain exactly the same as before I abandoned using Timer in Waiting. But that is necessary