Layout and menu are now create and build in listener