Add setOptions support.
Fix the Menu selection issue.