Created conditions were lost after refreshing the page when save did not stop spinning