Fixed display bug when alwaysShowPrompt is toggled.

Change-Id: Ib655e478f0550ad5046cef68b6628b20545250d4