Made refresh button inactive when there isn't data. Prevents crashes
Merge pull request #21 from echenyu/echenyu/fix7

Made refresh button inactive when there isn't data. Prevents crashes