Fixed preferences view when editing folders