Add UIMODE detect to helpers

Change-Id: I16750ddc7e63bf8fc99d61e09bbc8d4dc7c86939
Settings: Option to start lock screen widgets maximized (2/2)

Change-Id: I528cfbcbc6da409d8ffb878f016704853bb21799