Fix crash in app properties dialog