Added suspend/resume handling into QML UI