WIP: control the status of menu buttons