Add on-the-spot user preference dialog

Change-Id: Ifb229f646f1a33b688970451056cab17b1652d07
Credit: PA