Major bugs

- Solved a bug that made the server crash because the connection were
not ended properly
- Solved a bug that made impossible to answer on a mobile phone when
the screen had been locked