Commented out like so that my version will compile.
Several style changes:
1) Put variable in smallest scope necessary.
2) Camelcased variable for readability.
3) Moved string to public static constant.
Moved common logic to an abstract parent class to trim class size.
Additionally, new menu items only need to be added in one place.
Removed unnecessary intermediate variables.
Moved another String to a static final constant.