Fix NPE causing a hot reboot when pressing power button

Change-Id: I7331f1abf70d131af8e0c09694f174fffd5fb9ef
Signed-off-by: Almite <almite@hotmail.com>
Fix Themes

Signed-off-by: Almite <almite@hotmail.com>