implementing menu status callback