Replaced all toggle menus by hooks