Minor fixes. Currently shown fragments are restored.