Overhaul config menu to make code easier to expand upon

This also fixes a few minor syntax errors that were the reault of
duplication code across individual menu options.
Fix compilation in the lastest ndk r9 and after

LOCAL_DISABLE_FORMAT_STRING_CHECKS=true in the module Android.mk compile fine in the lastest ndk .
Merge pull request #43 from ThePlayground/androidui

Overhaul config menu to make code easier to expand upon