Fixed mainActivity options menu to use switch statements