Provided method to set max calories allowed