How to fix iPhone 3 showing iTunes-icon after charging?
Your iPhone is in Recovery Mode. To leave it please press Sleep/Awake Button and Home button at the same time.

If this doesn't work you'll probably need RecBoot to exit Recovery Mode.