Flagging user inputted quantities as changed recursively