made layout of preferencescreen (closes #13)