Updated menu callback for access check