Wendikidd answered about what happened in this specific case. I will answer about how soon an answer should be accepted.
There isn't a limit to when an answer should be accepted, and nobody should push you to accept an answer in the first two hours the question has been asked.
Blindly accepting the first given answer without giving to other users the time to answer your question is counter-productive: It could be the first user who answered misunderstood the question, or the given answer is incomplete. Since you are asking the question, chances are that you don't know the correct answer; you depend on the others to tell you which is the correct answer, and that is done on Stack Exchange with comments, and votes.
When I see the sole answer being accepted few minutes after being written, I always think that:
- The user is rushing to accept an answer before somebody else notices the question, and down-votes it
- The user is asking a very simple question for which an answer could have been found by taking more time to look for it