fixed upgrade cost display from localStorage