working time checking based on settings