Thank you so much, scalz. That solved my problem. Just soldered them and now it works. It really seems the arduino needs a good wired connection in order to work.