Finish working on the mmenu callback.