Moved saveInfo next to setInfo, increasing code readability.