Application can close the session now

Preventing android application from destroying activity when orientation
of the device was changed.

Stopped application from plotting 0 after few first seconds, due to
application connecting to the server.

Mobile application now when home button is pressed will send request to
MiddleServer to terminate connection.