update ButtonMenuItem class