Extracting menu to a new layout