add option for refresh time in settings page
use new option in front js