The data now remains on the page until refreshed
Small refactor