Needed to multi-threads working of app.