Fix bug not trigger mode change when call DrawingToolsManager's setMode function.

1) add option menu for debug use in PainterActivity.