LDC-598 fixed errors in menu access callback
Merge pull request #69 from makskuharenko/LDC-598

Bugfix: LDC-598 fixed errors in menu access callback