Popupmenu now working