Oh ouch...I hope that didn't make you lose faith in your new ride!!!
You probably want to take it back to the shop and a) tell them what happened. b) have them make sure it's tight now.

And don't let it dampen your enthusiasm!!!
I'm happy for you that you got your bike!!