Fixed critical bug in menu