Added code to change global variable.
Added change option to menu.
Fixed syntax error.
Added TODO comments for menu.