redstonechange for DaylightDetector, fix in comparator