Fix 24-hour mode device crash, start theme work