Fix issues with configuring refresh times