Fix so pop-up only appears after trying to add non-existent energy