Avoid NPE in daytime detection
Set colors for material theme
Update to version 1.2