EditorManager: Avoid some duplicated code

Change-Id: Ia7c1b1b5eea0ba75010ff667ba05273c62c18491
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Android: Fix initial setup

Broken in the settings dialog refactor

Change-Id: Ibb4777c36e332d9972048f4cd339e890518c523c
Reviewed-by: Daniel Teske <daniel.teske@digia.com>