* fixed edit
* added disconnect, if app minimized