Fixed app freeze after closing playlist's tab. Config save moved into thread.