Allow adding multiple mode menus

Signed-off-by: Umair Khan <omerjerk@gmail.com>

This is a possible solution which I could think to add multiple mode menus without breaking the compatibility of other plugins.
Please see this for reference : https://github.com/processing/processing-android/pull/88