的话,is a word kinda like "yet","zilla".... it doesnt have any meanings at all if you just looking into these two words simply. most of the time its use of assuming tone.
for example, if you like it,i'll buy it for you.(如果你喜欢的话,我买给你)。this is one of the most common useage of this words. it's kinda like the "yet" word's function in the sentence "have you already done that yet?"
otherwise, it's just a usage habbit, mostly using in the answers, and means nothing at all. for example, What kind of sports do you like most? Well, for sports, I prefer basketball. (你最喜欢什么运动?呃,运动的话,我最喜欢篮球)