improved popup layer text contents and added first menu logic