Update menu module

Introduced the startLevel and the endLevel arguments.