Added logic to calculate humidity and show optimal target in interface