Fix issue with refreshRate when options are not passed. Related to #64