Added menu state functions