Added working refresh control