Fix removing accounts

And fix updating popup settings in qml