added option for api refresh interval and set default from 5 sec. to 30 sec.