hardened update: avoid an application crash
new constants
new strings
typo
Save advanced preferences

This patch allows to save settings. Per application.
It also calls a background process in order to ensure we do not lock the
UI for nothing.
added setters for AppRule object
prepare BackgroundProcess intent for new commands