first thing to do is to check to see if you have the latest version of Electrum. it is 3.0.6 at the moment
https://electrum.org/#downloadin previous versions there was a bug that caused this state of being stuck for some transactions because the wallet failed to parse it.
if that is not the issue the clarify what you mean by "I can see the transaction arrived". is it just that you see it on the block explorer or is it actually confirmed. if it is confirmed then the problem is on your end (possibly connectivity) if it is not confirmed it is possibly due to not being propagated so the Electrum nodes you are connected to don't see it.