Get UlClass from menu

Fixed #1