Made manual refresh work