Use internal cache if getExternalCacheDir returns null

Change-Id: Iaadc13aeac75df07b1a3b17cca4e87dc17f06fe0
settings: Battery bar (1/2)

Change-Id: I3356efc5fe8fa6cfda1db009a068fcd2dfd72a1f