Fix: out of bounds error

After trying to reverse the order the missiles appear in the store, an
out of bounds error occured. This was do to i being initialized to the 
wrong value. Corrected the error.
Fix: Points earned and missiles used only saved on game over

Changed the behavior of saving user data to only save after game over.
This gives the user an incentive to let the game finish.