change background according to the night/day