Minor refactor of humidity calculation mode setting